Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008613/0.0008614, allocations: 93.98 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 191.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 241.9 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 44.22 MB / 337.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3443/0.4448, allocations: 159 MB / 0.6159 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.4514, allocations: 5.098 MB / 0.6209 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.4521, allocations: 23.75 kB / 0.6209 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008861/0.453, allocations: 258.4 kB / 0.6211 GB, free: 14.68 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002869/0.4559, allocations: 1.084 MB / 0.6222 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.4579, allocations: 0.7479 MB / 0.6229 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.4603, allocations: 2.242 MB / 0.6251 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.461, allocations: 375.8 kB / 0.6255 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.4629, allocations: 0.9091 MB / 0.6264 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.464, allocations: 0.6541 MB / 0.627 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.4641, allocations: 32 kB / 0.627 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4653, allocations: 455.3 kB / 0.6275 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4656, allocations: 239.3 kB / 0.6277 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.4659, allocations: 165.3 kB / 0.6278 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.4669, allocations: 0.9236 MB / 0.6287 GB, free: 6.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.467, allocations: 8 kB / 0.6288 GB, free: 6.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.467, allocations: 0 / 0.6288 GB, free: 6.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.467, allocations: 0 / 0.6288 GB, free: 6.859 MB / 462.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.002071/0.4691, allocations: 0.9465 MB / 0.6297 GB, free: 5.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4691, allocations: 12.56 kB / 0.6297 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.4693, allocations: 102.5 kB / 0.6298 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008019/0.4701, allocations: 127.1 kB / 0.6299 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.4711, allocations: 0.4927 MB / 0.6304 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.4712, allocations: 96.41 kB / 0.6305 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.4713, allocations: 48 kB / 0.6305 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.4725, allocations: 0.8174 MB / 0.6313 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.4726, allocations: 7.938 kB / 0.6313 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.4726, allocations: 24 kB / 0.6314 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.4727, allocations: 40.97 kB / 0.6314 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4738, allocations: 0.6283 MB / 0.632 GB, free: 3.336 MB / 462.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.004579/0.4784, allocations: 3.954 MB / 0.6359 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.479, allocations: 361.8 kB / 0.6362 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.4793, allocations: 174.2 kB / 0.6364 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4794, allocations: 93.36 kB / 0.6365 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4795, allocations: 38.84 kB / 0.6365 GB, free: 14.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.4795, allocations: 0 / 0.6365 GB, free: 14.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.00492/0.4844, allocations: 1.664 MB / 0.6381 GB, free: 12.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.4845, allocations: 136.5 kB / 0.6383 GB, free: 12.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.4851, allocations: 0.6055 MB / 0.6389 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.4852, allocations: 33.7 kB / 0.6389 GB, free: 11.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.4854, allocations: 366.8 kB / 0.6392 GB, free: 11.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4855, allocations: 142 kB / 0.6394 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4856, allocations: 16 kB / 0.6394 GB, free: 11.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4857, allocations: 378.8 kB / 0.6397 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.486, allocations: 201.9 kB / 0.6399 GB, free: 10.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.4866, allocations: 0.5047 MB / 0.6404 GB, free: 10.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.487, allocations: 300.5 kB / 0.6407 GB, free: 9.844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.487, allocations: 4 kB / 0.6407 GB, free: 9.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001349/0.4884, allocations: 0.8716 MB / 0.6416 GB, free: 8.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4884, allocations: 15.98 kB / 0.6416 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4885, allocations: 8.875 kB / 0.6416 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.4897, allocations: 324.6 kB / 0.6419 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.49, allocations: 127.8 kB / 0.642 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.4911, allocations: 0.9255 MB / 0.6429 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.4916, allocations: 51.89 kB / 0.643 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.4916, allocations: 63.98 kB / 0.643 GB, free: 7.426 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.492, allocations: 245.5 kB / 0.6433 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4921, allocations: 67.7 kB / 0.6433 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.4945, allocations: 0.8773 MB / 0.6442 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.4945, allocations: 4 kB / 0.6442 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4945, allocations: 0 / 0.6442 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4945, allocations: 3.984 kB / 0.6442 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.4972, allocations: 1.446 MB / 0.6456 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.4972, allocations: 4 kB / 0.6456 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.4986, allocations: 207.8 kB / 0.6458 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.4987, allocations: 20.84 kB / 0.6458 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.4988, allocations: 32.12 kB / 0.6459 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.5011, allocations: 2.684 MB / 0.6485 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5012, allocations: 7.969 kB / 0.6485 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.5028, allocations: 0.821 MB / 0.6493 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.5032, allocations: 192.3 kB / 0.6495 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5033, allocations: 8 kB / 0.6495 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.5039, allocations: 31.97 kB / 0.6495 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.504, allocations: 35.91 kB / 0.6496 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.5041, allocations: 51.97 kB / 0.6496 GB, free: 224 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006809/0.5048, allocations: 427.1 kB / 0.65 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5048, allocations: 0 / 0.65 GB, free: 15.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001272/0.5061, allocations: 255.9 kB / 0.6503 GB, free: 15.55 MB / 494.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002784/0.5089, allocations: 1.541 MB / 0.6518 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.5103, allocations: 0.5429 MB / 0.6523 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5103, allocations: 0 / 0.6523 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.5116, allocations: 418.7 kB / 0.6527 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.5136, allocations: 346.9 kB / 0.653 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/0.5223, allocations: 4.238 MB / 0.6572 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.5229, allocations: 0.9339 MB / 0.6581 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001759/0.5247, allocations: 465 kB / 0.6585 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.5254, allocations: 279.3 kB / 0.6588 GB, free: 6.539 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5254, allocations: 4 kB / 0.6588 GB, free: 6.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08938/0.6148, allocations: 22.74 MB / 0.681 GB, free: 148 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6151, allocations: 285.4 kB / 0.6813 GB, free: 15.79 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.162, allocations: 64 / 0.6813 GB, free: 15.79 MB / 0.5138 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat