Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001146/0.001146, allocations: 96.5 kB / 16.98 MB, free: 5.938 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.001338/0.001338, allocations: 184.3 kB / 17.87 MB, free: 5.598 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.356/1.356, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 12.5 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4918/0.6439, allocations: 141.9 MB / 0.5991 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.6541, allocations: 5.525 MB / 0.6045 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.6555, allocations: 23.81 kB / 0.6045 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.6569, allocations: 270.6 kB / 0.6047 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.6622, allocations: 0.9898 MB / 0.6057 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.6655, allocations: 0.7585 MB / 0.6064 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.6682, allocations: 1.047 MB / 0.6075 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008802/0.6691, allocations: 381.2 kB / 0.6078 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.6716, allocations: 0.7401 MB / 0.6085 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.6727, allocations: 454.5 kB / 0.609 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.6729, allocations: 36 kB / 0.609 GB, free: 9.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.6747, allocations: 491.5 kB / 0.6095 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.675, allocations: 219.4 kB / 0.6097 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.6754, allocations: 169.3 kB / 0.6099 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6767, allocations: 0.9101 MB / 0.6107 GB, free: 8.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.6767, allocations: 0 / 0.6107 GB, free: 8.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6767, allocations: 0 / 0.6107 GB, free: 8.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.6768, allocations: 0 / 0.6107 GB, free: 8.02 MB / 446.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.002709/0.6795, allocations: 0.9621 MB / 0.6117 GB, free: 7.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.6795, allocations: 8.562 kB / 0.6117 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.6798, allocations: 106.4 kB / 0.6118 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.681, allocations: 135.6 kB / 0.6119 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.6822, allocations: 496.5 kB / 0.6124 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6824, allocations: 96.41 kB / 0.6125 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6825, allocations: 51.98 kB / 0.6125 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.6843, allocations: 0.8058 MB / 0.6133 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.6844, allocations: 7.938 kB / 0.6133 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.6845, allocations: 24 kB / 0.6134 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.6846, allocations: 41.84 kB / 0.6134 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.6861, allocations: 0.6243 MB / 0.614 GB, free: 4.492 MB / 446.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.006302/0.6924, allocations: 3.948 MB / 0.6179 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.6933, allocations: 347.6 kB / 0.6182 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.6935, allocations: 105.3 kB / 0.6183 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.6935, allocations: 34.84 kB / 0.6183 GB, free: 15.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/0.6935, allocations: 4 kB / 0.6183 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.007719/0.7013, allocations: 1.669 MB / 0.62 GB, free: 14.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7014, allocations: 136.5 kB / 0.6201 GB, free: 13.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.7025, allocations: 0.6094 MB / 0.6207 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.7026, allocations: 33.7 kB / 0.6207 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.703, allocations: 362.8 kB / 0.6211 GB, free: 12.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.7032, allocations: 138.1 kB / 0.6212 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.7032, allocations: 16 kB / 0.6212 GB, free: 12.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.7035, allocations: 374.8 kB / 0.6216 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.704, allocations: 209.8 kB / 0.6218 GB, free: 12.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007878/0.7048, allocations: 0.5086 MB / 0.6223 GB, free: 11.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.7054, allocations: 292.6 kB / 0.6225 GB, free: 11.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7054, allocations: 3.953 kB / 0.6225 GB, free: 11.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001446/0.7069, allocations: 0.8757 MB / 0.6234 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.7069, allocations: 11.98 kB / 0.6234 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.7069, allocations: 12 kB / 0.6234 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.7085, allocations: 323.4 kB / 0.6237 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.7089, allocations: 127.8 kB / 0.6239 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.7102, allocations: 0.9231 MB / 0.6248 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/0.711, allocations: 51.89 kB / 0.6248 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.7111, allocations: 67.98 kB / 0.6249 GB, free: 8.754 MB / 462.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.0004041/0.7115, allocations: 237.6 kB / 0.6251 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7116, allocations: 75.14 kB / 0.6252 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.7136, allocations: 0.8656 MB / 0.626 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.7136, allocations: 4 kB / 0.626 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7136, allocations: 8 kB / 0.626 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.7136, allocations: 3.984 kB / 0.626 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.7159, allocations: 1.442 MB / 0.6274 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7159, allocations: 0 / 0.6274 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.717, allocations: 211.8 kB / 0.6276 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.7172, allocations: 24.78 kB / 0.6277 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.7172, allocations: 23.98 kB / 0.6277 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.7195, allocations: 2.7 MB / 0.6303 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7195, allocations: 3.938 kB / 0.6303 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.7209, allocations: 0.8818 MB / 0.6312 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.7214, allocations: 184.2 kB / 0.6314 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7215, allocations: 15.98 kB / 0.6314 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.7219, allocations: 28.05 kB / 0.6314 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7221, allocations: 35.95 kB / 0.6314 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.7221, allocations: 43.98 kB / 0.6315 GB, free: 1.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000638/0.7228, allocations: 431 kB / 0.6319 GB, free: 1.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7228, allocations: 0 / 0.6319 GB, free: 1.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009768/0.7238, allocations: 255.9 kB / 0.6321 GB, free: 0.793 MB / 462.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.00265/0.7264, allocations: 2.041 MB / 0.6341 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.7276, allocations: 0.5504 MB / 0.6347 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7277, allocations: 4 kB / 0.6347 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009981/0.7287, allocations: 414.7 kB / 0.6351 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.7303, allocations: 328.5 kB / 0.6354 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.7397, allocations: 10.85 MB / 0.646 GB, free: 2.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.7404, allocations: 0.9417 MB / 0.6469 GB, free: 1.312 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.7418, allocations: 465.2 kB / 0.6473 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.7423, allocations: 287.3 kB / 0.6476 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7424, allocations: 0 / 0.6476 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.7891, allocations: 22.74 MB / 0.6698 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.7894, allocations: 276.8 kB / 0.6701 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.133, allocations: 0 / 0.6701 GB, free: 9.828 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat