Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001957/0.001958, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2272/0.2272, allocations: 46.13 MB / 344.2 MB, free: 11.53 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.002225/0.002225, allocations: 80.98 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1139, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4125/0.5264, allocations: 177.3 MB / 0.6421 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008805/0.5352, allocations: 5.348 MB / 0.6473 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006649/0.536, allocations: 19.88 kB / 0.6473 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.537, allocations: 310 kB / 0.6476 GB, free: 12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.5407, allocations: 1.257 MB / 0.6489 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.5433, allocations: 0.9596 MB / 0.6498 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.5461, allocations: 1.852 MB / 0.6516 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009818/0.5471, allocations: 455.3 kB / 0.652 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.5498, allocations: 1.082 MB / 0.6531 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.5511, allocations: 0.6539 MB / 0.6537 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.5513, allocations: 60 kB / 0.6538 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.5531, allocations: 0.5852 MB / 0.6544 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004042/0.5536, allocations: 259.3 kB / 0.6546 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006502/0.5542, allocations: 398.2 kB / 0.655 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.5564, allocations: 1.297 MB / 0.6563 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5564, allocations: 0 / 0.6563 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5564, allocations: 0 / 0.6563 GB, free: 3.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.5564, allocations: 0 / 0.6563 GB, free: 3.152 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.002597/0.559, allocations: 1.107 MB / 0.6573 GB, free: 1.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5591, allocations: 15.91 kB / 0.6574 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.5592, allocations: 94.52 kB / 0.6574 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/0.5601, allocations: 139.8 kB / 0.6576 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.561, allocations: 0.5079 MB / 0.6581 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.5612, allocations: 100.4 kB / 0.6582 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.5613, allocations: 55.98 kB / 0.6582 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5626, allocations: 0.8135 MB / 0.659 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.5626, allocations: 4 kB / 0.659 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.5627, allocations: 24 kB / 0.659 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.5628, allocations: 40.98 kB / 0.6591 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.5639, allocations: 0.6243 MB / 0.6597 GB, free: 15.44 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.005068/0.569, allocations: 3.952 MB / 0.6636 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.5696, allocations: 353.7 kB / 0.6639 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5699, allocations: 177.3 kB / 0.6641 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.5701, allocations: 97.36 kB / 0.6641 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.5701, allocations: 38.84 kB / 0.6642 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 5.06e-06/0.5702, allocations: 3.938 kB / 0.6642 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006067/0.5762, allocations: 1.665 MB / 0.6658 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.5763, allocations: 140.5 kB / 0.6659 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.5772, allocations: 0.6133 MB / 0.6665 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.5772, allocations: 33.7 kB / 0.6666 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.5775, allocations: 374.8 kB / 0.6669 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5777, allocations: 142 kB / 0.6671 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.5779, allocations: 154.5 kB / 0.6672 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5781, allocations: 374.8 kB / 0.6676 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.5785, allocations: 205.9 kB / 0.6678 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.5792, allocations: 0.5125 MB / 0.6683 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5803, allocations: 0.7513 MB / 0.669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5803, allocations: 4 kB / 0.669 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001549/0.5819, allocations: 0.8838 MB / 0.6699 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5819, allocations: 11.98 kB / 0.6699 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5819, allocations: 12.16 kB / 0.6699 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.5834, allocations: 312.6 kB / 0.6702 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5838, allocations: 131.7 kB / 0.6703 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.585, allocations: 0.9257 MB / 0.6712 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.5855, allocations: 31.98 kB / 0.6713 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.5856, allocations: 63.98 kB / 0.6713 GB, free: 2.785 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.000355/0.586, allocations: 253.4 kB / 0.6716 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5861, allocations: 67.16 kB / 0.6716 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.588, allocations: 0.8617 MB / 0.6725 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.588, allocations: 8 kB / 0.6725 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.588, allocations: 4 kB / 0.6725 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.588, allocations: 7.984 kB / 0.6725 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.5902, allocations: 1.457 MB / 0.6739 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5902, allocations: 4 kB / 0.6739 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.5913, allocations: 207.8 kB / 0.6741 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.603e-05/0.5914, allocations: 28.78 kB / 0.6741 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.5914, allocations: 20.17 kB / 0.6742 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.5938, allocations: 2.875 MB / 0.677 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5938, allocations: 4.031 kB / 0.677 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5952, allocations: 0.8176 MB / 0.6778 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.5955, allocations: 184.3 kB / 0.6779 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5956, allocations: 11.98 kB / 0.678 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.596, allocations: 15.98 kB / 0.678 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.5961, allocations: 51.95 kB / 0.678 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.5962, allocations: 43.92 kB / 0.6781 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005567/0.5967, allocations: 439 kB / 0.6785 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5967, allocations: 0 / 0.6785 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000905/0.5976, allocations: 252 kB / 0.6787 GB, free: 10.71 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.002658/0.6003, allocations: 1.567 MB / 0.6802 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.6017, allocations: 0.5983 MB / 0.6808 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6018, allocations: 7.938 kB / 0.6808 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6029, allocations: 418.2 kB / 0.6812 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.6047, allocations: 361.5 kB / 0.6816 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009667/0.6144, allocations: 6.55 MB / 0.688 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.615, allocations: 0.9339 MB / 0.6889 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001359/0.6164, allocations: 469.8 kB / 0.6893 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.617, allocations: 291.3 kB / 0.6896 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.617, allocations: 0 / 0.6896 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.8761, allocations: 24.19 MB / 0.7132 GB, free: 198 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.51, allocations: 9.125 kB / 0.7132 GB, free: 198 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)