Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 68.98 kB / 379.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2609, allocations: 53.37 MB / 432.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01823/0.2791, allocations: 13.56 MB / 446.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.2979, allocations: 15.66 MB / 462 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.2981, allocations: 0 / 462 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.2984, allocations: 83.47 kB / 462.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.2988, allocations: 111.2 kB / 462.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0159/0.3147, allocations: 5.986 MB / 468.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.3153, allocations: 350.5 kB / 468.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.3154, allocations: 13.75 kB / 468.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.3159, allocations: 235 kB / 468.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3161, allocations: 107.5 kB / 468.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3161, allocations: 16 kB / 468.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.3295, allocations: 6.778 MB / 475.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.3296, allocations: 47.83 kB / 475.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3298, allocations: 103.6 kB / 475.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.3395, allocations: 3.921 MB / 479.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3395, allocations: 0 / 479.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3395, allocations: 4 kB / 479.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3395, allocations: 4 kB / 479.7 MB, free: 7.812 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003077/0.3426, allocations: 0.9428 MB / 480.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3426, allocations: 12.03 kB / 480.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.169e-05/0.3427, allocations: 54.73 kB / 480.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3441, allocations: 176.6 kB / 480.9 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.3445, allocations: 210.2 kB / 481.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.3445, allocations: 20.75 kB / 481.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3446, allocations: 27.94 kB / 481.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.3478, allocations: 0.8973 MB / 482 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3478, allocations: 0 / 482 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.3479, allocations: 19.98 kB / 482.1 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3479, allocations: 4 kB / 482.1 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.3512, allocations: 0.9695 MB / 483 MB, free: 4.402 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.353, allocations: 1.307 MB / 484.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.3557, allocations: 0.7285 MB / 485.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3559, allocations: 153.6 kB / 485.2 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0702/0.4261, allocations: 20.55 MB / 0.4939 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.4262, allocations: 34.5 kB / 0.494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.4262, allocations: 4 kB / 0.494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005536/0.4317, allocations: 1.36 MB / 0.4953 GB, free: 12.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4318, allocations: 55.41 kB / 0.4953 GB, free: 12.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4319, allocations: 117.8 kB / 0.4954 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/0.432, allocations: 33.7 kB / 0.4955 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.4321, allocations: 116.8 kB / 0.4956 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4322, allocations: 127.3 kB / 0.4957 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.4325, allocations: 165.5 kB / 0.4959 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4327, allocations: 326.8 kB / 0.4962 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.4334, allocations: 339.6 kB / 0.4965 GB, free: 10.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.4342, allocations: 415.4 kB / 0.4969 GB, free: 10.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4356, allocations: 0.7036 MB / 0.4976 GB, free: 9.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4356, allocations: 0 / 0.4976 GB, free: 9.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001956/0.4376, allocations: 0.8798 MB / 0.4984 GB, free: 8.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4376, allocations: 7.938 kB / 0.4985 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4376, allocations: 4 kB / 0.4985 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4376, allocations: 4 kB / 0.4985 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.4383, allocations: 175.8 kB / 0.4986 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4383, allocations: 4 kB / 0.4986 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.4387, allocations: 31.84 kB / 0.4987 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4388, allocations: 67.92 kB / 0.4987 GB, free: 8.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.4391, allocations: 145.8 kB / 0.4989 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4392, allocations: 19.84 kB / 0.4989 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009081/0.4483, allocations: 8.505 MB / 0.5072 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/0.4483, allocations: 27.95 kB / 0.5072 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4483, allocations: 4 kB / 0.5072 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.4483, allocations: 11.97 kB / 0.5072 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.4521, allocations: 3.763 MB / 0.5109 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4521, allocations: 0 / 0.5109 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.4528, allocations: 111.8 kB / 0.511 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.4528, allocations: 7.938 kB / 0.511 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.4528, allocations: 8 kB / 0.511 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4528, allocations: 3.984 kB / 0.511 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4528, allocations: 3.938 kB / 0.511 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.4554, allocations: 1.886 MB / 0.5129 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.4555, allocations: 63.36 kB / 0.5129 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.4556, allocations: 11.94 kB / 0.513 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.4559, allocations: 11.98 kB / 0.513 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.456, allocations: 31.94 kB / 0.513 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.456, allocations: 20.05 kB / 0.513 GB, free: 9.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.703e-05/0.4561, allocations: 91.22 kB / 0.5131 GB, free: 9.422 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4561, allocations: 4 kB / 0.5131 GB, free: 9.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002734/0.4588, allocations: 0.998 MB / 0.5141 GB, free: 8.418 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007456/0.4663, allocations: 3.482 MB / 0.5175 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.4681, allocations: 0.8954 MB / 0.5184 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4681, allocations: 0 / 0.5184 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.4689, allocations: 0.5205 MB / 0.5189 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.4695, allocations: 92.52 kB / 0.519 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/0.478, allocations: 4.708 MB / 0.5235 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.4785, allocations: 0.8575 MB / 0.5244 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00206/0.4806, allocations: 1.783 MB / 0.5261 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.481, allocations: 215.3 kB / 0.5263 GB, free: 11.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.481, allocations: 4 kB / 0.5263 GB, free: 11.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2867/0.7678, allocations: 46.74 MB / 0.572 GB, free: 78.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.17, allocations: 6.812 kB / 0.572 GB, free: 78.06 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.csv --start-time 0 --stop-time 22 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.615717398934066] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.h', 'medium.p'] 12.271743194200099 12.280400568 11.938528827 Calling exit ...