Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000744/0.000744, allocations: 89.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.338/0.338, allocations: 43.56 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4034/0.524, allocations: 163.9 MB / 0.6395 GB, free: 2.695 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.535, allocations: 7.744 MB / 0.6471 GB, free: 10.94 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.5362, allocations: 23.81 kB / 0.6471 GB, free: 10.92 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.5372, allocations: 254.4 kB / 0.6473 GB, free: 10.67 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00391/0.5411, allocations: 1.325 MB / 0.6486 GB, free: 9.344 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.5439, allocations: 0.9068 MB / 0.6495 GB, free: 8.449 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.547, allocations: 2.253 MB / 0.6517 GB, free: 6.195 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.5478, allocations: 398.2 kB / 0.6521 GB, free: 5.805 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.5508, allocations: 1.078 MB / 0.6531 GB, free: 4.727 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.5519, allocations: 0.658 MB / 0.6538 GB, free: 4.066 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.552, allocations: 35.94 kB / 0.6538 GB, free: 4.031 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.5538, allocations: 0.6564 MB / 0.6545 GB, free: 3.375 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.5541, allocations: 231.3 kB / 0.6547 GB, free: 3.148 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.5546, allocations: 384.1 kB / 0.655 GB, free: 2.766 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5559, allocations: 1.013 MB / 0.656 GB, free: 1.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.556, allocations: 0 / 0.656 GB, free: 1.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.556, allocations: 0 / 0.656 GB, free: 1.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.556, allocations: 7.938 kB / 0.656 GB, free: 1.742 MB / 474.7 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.00202/0.558, allocations: 0.9777 MB / 0.657 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5581, allocations: 15.97 kB / 0.657 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.5582, allocations: 104.2 kB / 0.6571 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.5589, allocations: 131.1 kB / 0.6572 GB, free: 472 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.5597, allocations: 0.4963 MB / 0.6577 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5599, allocations: 108.4 kB / 0.6578 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.56, allocations: 48 kB / 0.6579 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5612, allocations: 0.8135 MB / 0.6587 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5613, allocations: 0 / 0.6587 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.5614, allocations: 23.98 kB / 0.6587 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.5614, allocations: 44.97 kB / 0.6587 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.5625, allocations: 0.6243 MB / 0.6593 GB, free: 14.17 MB / 490.7 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.0048/0.5673, allocations: 3.985 MB / 0.6632 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.5679, allocations: 352.6 kB / 0.6636 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.5681, allocations: 171 kB / 0.6637 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.5686, allocations: 365.4 kB / 0.6641 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5687, allocations: 38.84 kB / 0.6641 GB, free: 8.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.458e-06/0.5687, allocations: 0 / 0.6641 GB, free: 8.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005553/0.5742, allocations: 1.665 MB / 0.6657 GB, free: 7.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.5743, allocations: 136.5 kB / 0.6659 GB, free: 7.066 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.5751, allocations: 0.6094 MB / 0.6665 GB, free: 6.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.5751, allocations: 33.7 kB / 0.6665 GB, free: 6.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.5754, allocations: 370.8 kB / 0.6669 GB, free: 6.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5756, allocations: 134.1 kB / 0.667 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.5756, allocations: 20 kB / 0.667 GB, free: 5.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5758, allocations: 374.8 kB / 0.6674 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5761, allocations: 201.9 kB / 0.6675 GB, free: 5.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.5767, allocations: 0.5047 MB / 0.668 GB, free: 4.672 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.5777, allocations: 0.7446 MB / 0.6688 GB, free: 3.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5777, allocations: 3.938 kB / 0.6688 GB, free: 3.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00148/0.5792, allocations: 0.8757 MB / 0.6696 GB, free: 2.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5792, allocations: 12 kB / 0.6696 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5793, allocations: 8 kB / 0.6696 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.5807, allocations: 329 kB / 0.67 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.5811, allocations: 119.8 kB / 0.6701 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.5822, allocations: 0.9285 MB / 0.671 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.5827, allocations: 47.98 kB / 0.671 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.461e-05/0.5828, allocations: 67.92 kB / 0.6711 GB, free: 1.371 MB / 490.7 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.000362/0.5832, allocations: 257.5 kB / 0.6713 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5833, allocations: 71.16 kB / 0.6714 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.5849, allocations: 0.6704 MB / 0.6721 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5849, allocations: 7.938 kB / 0.6721 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5849, allocations: 0 / 0.6721 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5849, allocations: 4 kB / 0.6721 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.231/0.8159, allocations: 1.595 MB / 0.6736 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.8159, allocations: 1.891 kB / 0.6736 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.817, allocations: 207.4 kB / 0.6738 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.883e-05/0.8171, allocations: 22.64 kB / 0.6739 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.8172, allocations: 22.42 kB / 0.6739 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.8187, allocations: 2.688 MB / 0.6765 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.8187, allocations: 5.094 kB / 0.6765 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.8203, allocations: 0.8064 MB / 0.6773 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.8206, allocations: 191.3 kB / 0.6775 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.8207, allocations: 10.25 kB / 0.6775 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.8211, allocations: 25.97 kB / 0.6775 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8212, allocations: 49.06 kB / 0.6776 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.8213, allocations: 42.58 kB / 0.6776 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005511/0.8219, allocations: 431.2 kB / 0.678 GB, free: 147.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8219, allocations: 0 / 0.678 GB, free: 147.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.8229, allocations: 297.8 kB / 0.6783 GB, free: 147.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002304/0.8252, allocations: 1.589 MB / 0.6798 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.8265, allocations: 0.5377 MB / 0.6804 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8265, allocations: 1.688 kB / 0.6804 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000984/0.8275, allocations: 413.1 kB / 0.6808 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8292, allocations: 348 kB / 0.6811 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.8357, allocations: 4.274 MB / 0.6853 GB, free: 145.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.8361, allocations: 0.9306 MB / 0.6862 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/0.8367, allocations: 285.2 kB / 0.6864 GB, free: 144.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8367, allocations: 0 / 0.6864 GB, free: 144.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.847/5.684, allocations: 17.69 MB / 0.7037 GB, free: 142.8 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat