Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_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_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.001004/0.001004, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009514/0.0009512, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.372/0.372, allocations: 43.56 MB / 314.6 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006118/0.0006121, allocations: 18.97 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4632/0.6051, allocations: 163.9 MB / 0.5925 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.6155, allocations: 7.72 MB / 0.6001 GB, free: 304 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.6166, allocations: 27.75 kB / 0.6001 GB, free: 276 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.6177, allocations: 254.4 kB / 0.6003 GB, free: 20 kB / 462.1 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.004509/0.6222, allocations: 1.284 MB / 0.6016 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.6254, allocations: 0.8881 MB / 0.6025 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.6283, allocations: 2.246 MB / 0.6047 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.6292, allocations: 375.7 kB / 0.605 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.6326, allocations: 1.051 MB / 0.606 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.6342, allocations: 0.6541 MB / 0.6067 GB, free: 9.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003328/0.6345, allocations: 32 kB / 0.6067 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.6368, allocations: 0.5928 MB / 0.6073 GB, free: 8.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.6373, allocations: 235.3 kB / 0.6075 GB, free: 8.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.6378, allocations: 169.3 kB / 0.6077 GB, free: 8.508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6395, allocations: 1.002 MB / 0.6087 GB, free: 7.504 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6395, allocations: 0 / 0.6087 GB, free: 7.504 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6395, allocations: 0 / 0.6087 GB, free: 7.504 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.016e-05/0.6396, allocations: 0 / 0.6087 GB, free: 7.504 MB / 478.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.002618/0.6422, allocations: 0.9832 MB / 0.6096 GB, free: 6.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6423, allocations: 19.94 kB / 0.6096 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.6425, allocations: 99.27 kB / 0.6097 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.6435, allocations: 135.1 kB / 0.6099 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6445, allocations: 0.4888 MB / 0.6103 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.6447, allocations: 100.4 kB / 0.6104 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6448, allocations: 51.98 kB / 0.6105 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.6463, allocations: 0.8135 MB / 0.6113 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.6463, allocations: 4 kB / 0.6113 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.6464, allocations: 24 kB / 0.6113 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.6465, allocations: 44.91 kB / 0.6113 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6476, allocations: 0.621 MB / 0.6119 GB, free: 3.941 MB / 478.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.005048/0.6527, allocations: 3.978 MB / 0.6158 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.6533, allocations: 351.6 kB / 0.6162 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.6536, allocations: 170.2 kB / 0.6163 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.6541, allocations: 369.4 kB / 0.6167 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.6542, allocations: 38.84 kB / 0.6167 GB, free: 14.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.6542, allocations: 0 / 0.6167 GB, free: 14.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005233/0.6594, allocations: 1.676 MB / 0.6184 GB, free: 12.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.6595, allocations: 136.5 kB / 0.6185 GB, free: 12.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.6603, allocations: 0.6055 MB / 0.6191 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.6603, allocations: 33.7 kB / 0.6191 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.6606, allocations: 359 kB / 0.6195 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.6607, allocations: 145.9 kB / 0.6196 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.6608, allocations: 16 kB / 0.6196 GB, free: 11.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6609, allocations: 370.8 kB / 0.62 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.6613, allocations: 201.9 kB / 0.6202 GB, free: 11.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.6618, allocations: 0.5086 MB / 0.6206 GB, free: 10.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.6623, allocations: 295.7 kB / 0.6209 GB, free: 10.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6623, allocations: 4 kB / 0.6209 GB, free: 10.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001386/0.6637, allocations: 0.8763 MB / 0.6218 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6637, allocations: 8 kB / 0.6218 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6638, allocations: 8 kB / 0.6218 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.6651, allocations: 333.2 kB / 0.6221 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.6655, allocations: 123.8 kB / 0.6222 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6666, allocations: 0.9274 MB / 0.6231 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.6672, allocations: 54.98 kB / 0.6232 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.6673, allocations: 63.98 kB / 0.6233 GB, free: 7.727 MB / 494.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.0004197/0.6677, allocations: 249.5 kB / 0.6235 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6679, allocations: 67.16 kB / 0.6236 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.6693, allocations: 0.6888 MB / 0.6242 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6694, allocations: 4 kB / 0.6242 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6694, allocations: 0 / 0.6242 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6694, allocations: 0 / 0.6242 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.6718, allocations: 1.607 MB / 0.6258 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6718, allocations: 0 / 0.6258 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.6728, allocations: 203.9 kB / 0.626 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.6729, allocations: 28.83 kB / 0.626 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.673, allocations: 20 kB / 0.626 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.6751, allocations: 2.689 MB / 0.6287 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6752, allocations: 4.031 kB / 0.6287 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6764, allocations: 0.8 MB / 0.6295 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.6767, allocations: 196.3 kB / 0.6296 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6768, allocations: 8 kB / 0.6297 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.6773, allocations: 25.23 kB / 0.6297 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.6774, allocations: 40.02 kB / 0.6297 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.6775, allocations: 43.98 kB / 0.6298 GB, free: 0.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006094/0.6781, allocations: 431 kB / 0.6302 GB, free: 168 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6781, allocations: 0 / 0.6302 GB, free: 168 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2459/0.924, allocations: 283.4 kB / 0.6304 GB, free: 154.3 MB / 494.1 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.002184/0.9262, allocations: 1.601 MB / 0.632 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.9273, allocations: 0.5371 MB / 0.6325 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9273, allocations: 0 / 0.6325 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008368/0.9282, allocations: 416.8 kB / 0.6329 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.9296, allocations: 344.4 kB / 0.6333 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.9357, allocations: 4.23 MB / 0.6374 GB, free: 152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.9361, allocations: 0.932 MB / 0.6383 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.9372, allocations: 266.9 kB / 0.6385 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.9376, allocations: 269.6 kB / 0.6388 GB, free: 151.2 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.9376, allocations: 0 / 0.6388 GB, free: 151.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.337/1.275, allocations: 23.74 MB / 0.662 GB, free: 147 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.275, allocations: 280.3 kB / 0.6623 GB, free: 146.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.551, allocations: 5.031 kB / 0.6623 GB, free: 146.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat