Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica 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.00235/0.00235, allocations: 83.22 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1341, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4898/0.6239, allocations: 178.2 MB / 0.6429 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008393/0.6323, allocations: 5.336 MB / 0.6482 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.6333, allocations: 19.88 kB / 0.6482 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.6343, allocations: 318 kB / 0.6485 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.6387, allocations: 1.34 MB / 0.6498 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.6422, allocations: 1.069 MB / 0.6508 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.6449, allocations: 1.856 MB / 0.6526 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008725/0.6458, allocations: 466 kB / 0.6531 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.6485, allocations: 1.07 MB / 0.6541 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.6499, allocations: 0.7588 MB / 0.6549 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.6501, allocations: 60 kB / 0.6549 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.6516, allocations: 0.5842 MB / 0.6555 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.652, allocations: 267.2 kB / 0.6558 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.6526, allocations: 402.2 kB / 0.6561 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.655, allocations: 1.286 MB / 0.6574 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6551, allocations: 0 / 0.6574 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6551, allocations: 0 / 0.6574 GB, free: 2.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.6551, allocations: 0 / 0.6574 GB, free: 2.031 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002944/0.6581, allocations: 1.107 MB / 0.6585 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6581, allocations: 15.97 kB / 0.6585 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.6583, allocations: 98.5 kB / 0.6586 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.6591, allocations: 131.1 kB / 0.6587 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.66, allocations: 0.508 MB / 0.6592 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.6602, allocations: 104.4 kB / 0.6593 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6603, allocations: 44 kB / 0.6594 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.6617, allocations: 0.8253 MB / 0.6602 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.6618, allocations: 7.938 kB / 0.6602 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.6619, allocations: 23.94 kB / 0.6602 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.917e-05/0.662, allocations: 40.97 kB / 0.6602 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6631, allocations: 0.6205 MB / 0.6608 GB, free: 14.32 MB / 0.4981 GB 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.005582/0.6687, allocations: 3.955 MB / 0.6647 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.6694, allocations: 357.9 kB / 0.665 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.6697, allocations: 177.3 kB / 0.6652 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.6698, allocations: 89.38 kB / 0.6653 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.6699, allocations: 38.84 kB / 0.6653 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.305e-06/0.6699, allocations: 0 / 0.6653 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006018/0.6759, allocations: 1.676 MB / 0.667 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.676, allocations: 132.5 kB / 0.6671 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.6768, allocations: 0.6094 MB / 0.6677 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.6769, allocations: 33.7 kB / 0.6677 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.6772, allocations: 370.9 kB / 0.6681 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.6774, allocations: 142 kB / 0.6682 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.6776, allocations: 158.5 kB / 0.6684 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6778, allocations: 374.8 kB / 0.6687 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.6782, allocations: 205.9 kB / 0.6689 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006595/0.6789, allocations: 0.5047 MB / 0.6694 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.68, allocations: 0.7592 MB / 0.6701 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.68, allocations: 0 / 0.6701 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001643/0.6817, allocations: 0.8839 MB / 0.671 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.6817, allocations: 23.86 kB / 0.671 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.6817, allocations: 11.94 kB / 0.671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.6832, allocations: 317.3 kB / 0.6713 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.6836, allocations: 123.8 kB / 0.6715 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.6849, allocations: 0.929 MB / 0.6724 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.6855, allocations: 36.05 kB / 0.6724 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.6856, allocations: 63.98 kB / 0.6725 GB, free: 1.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000429/0.686, allocations: 245.5 kB / 0.6727 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6861, allocations: 67.16 kB / 0.6728 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.6881, allocations: 0.8551 MB / 0.6736 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.6881, allocations: 4 kB / 0.6736 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6881, allocations: 4 kB / 0.6736 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.6881, allocations: 7.922 kB / 0.6736 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.6905, allocations: 1.461 MB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6905, allocations: 0 / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6915, allocations: 215.9 kB / 0.6752 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.78e-05/0.6917, allocations: 28.78 kB / 0.6753 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.6917, allocations: 19.98 kB / 0.6753 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.6942, allocations: 2.87 MB / 0.6781 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.6942, allocations: 11.95 kB / 0.6781 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.6956, allocations: 0.8174 MB / 0.6789 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.6959, allocations: 188.2 kB / 0.6791 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.696, allocations: 15.98 kB / 0.6791 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.6964, allocations: 12 kB / 0.6791 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6965, allocations: 39.89 kB / 0.6792 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.6966, allocations: 43.98 kB / 0.6792 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005968/0.6972, allocations: 447.1 kB / 0.6796 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6972, allocations: 0 / 0.6796 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009428/0.6982, allocations: 248 kB / 0.6799 GB, free: 9.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/0.7007, allocations: 1.579 MB / 0.6814 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.7021, allocations: 0.5928 MB / 0.682 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7022, allocations: 1.562 kB / 0.682 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7033, allocations: 426.8 kB / 0.6824 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.7051, allocations: 360.7 kB / 0.6827 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/0.7151, allocations: 6.554 MB / 0.6891 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.7158, allocations: 0.9339 MB / 0.69 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001435/0.7173, allocations: 471 kB / 0.6905 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.7178, allocations: 283.3 kB / 0.6908 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.7178, allocations: 0 / 0.6908 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/1.004, allocations: 24.2 MB / 0.7144 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.31, allocations: 24.08 kB / 0.7144 GB, free: 195.1 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)