Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.002327/0.002327, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001142/0.001142, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2949/0.2949, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.898e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/1.987, allocations: 0.5084 GB / 0.9813 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.988, allocations: 98.59 kB / 0.9814 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/3.142, allocations: 218.9 MB / 1.195 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.175e-06/3.142, allocations: 0 / 1.195 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.462e-05/3.142, allocations: 25.5 kB / 1.195 GB, free: 117.5 MB / 0.5105 GB 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.004187/3.147, allocations: 1.095 MB / 1.196 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/3.147, allocations: 15.58 kB / 1.196 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/3.147, allocations: 97.8 kB / 1.196 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/3.148, allocations: 127.2 kB / 1.196 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/3.15, allocations: 0.5455 MB / 1.197 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/3.15, allocations: 99.62 kB / 1.197 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/3.15, allocations: 53.75 kB / 1.197 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/3.152, allocations: 0.7998 MB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/3.152, allocations: 3.938 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/3.152, allocations: 27.62 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-05/3.152, allocations: 36.48 kB / 1.198 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/3.154, allocations: 0.6052 MB / 1.199 GB, free: 115.1 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006143/3.16, allocations: 3.938 MB / 1.202 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/3.16, allocations: 331.9 kB / 1.203 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/3.161, allocations: 167.3 kB / 1.203 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/3.161, allocations: 27.58 kB / 1.203 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/3.161, allocations: 38.28 kB / 1.203 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.376e-06/3.161, allocations: 0 / 1.203 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.008378/3.169, allocations: 1.515 MB / 1.204 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/3.17, allocations: 136 kB / 1.205 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/3.17, allocations: 0.5303 MB / 1.205 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/3.171, allocations: 33.27 kB / 1.205 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/3.171, allocations: 395.9 kB / 1.205 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/3.171, allocations: 149.3 kB / 1.206 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/3.171, allocations: 12 kB / 1.206 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001074/3.171, allocations: 347.9 kB / 1.206 GB, free: 109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/3.172, allocations: 197.4 kB / 1.206 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/3.172, allocations: 0.4921 MB / 1.207 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/3.173, allocations: 291.2 kB / 1.207 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/3.173, allocations: 4 kB / 1.207 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001965/3.175, allocations: 0.8183 MB / 1.208 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/3.175, allocations: 8 kB / 1.208 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/3.175, allocations: 12.16 kB / 1.208 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/3.177, allocations: 308.6 kB / 1.208 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/3.178, allocations: 123.8 kB / 1.208 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/3.179, allocations: 0.9206 MB / 1.209 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/3.18, allocations: 48.03 kB / 1.209 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/3.181, allocations: 60 kB / 1.209 GB, free: 105.6 MB / 0.5105 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 () * 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.0002275/3.181, allocations: 152.7 kB / 1.209 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/3.181, allocations: 71.25 kB / 1.209 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/3.183, allocations: 0.6637 MB / 1.21 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/3.183, allocations: 4 kB / 1.21 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/3.183, allocations: 4 kB / 1.21 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/3.183, allocations: 0 / 1.21 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/3.186, allocations: 1.254 MB / 1.211 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/3.186, allocations: 0 / 1.211 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/3.188, allocations: 215.7 kB / 1.211 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/3.188, allocations: 28.91 kB / 1.211 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/3.188, allocations: 16 kB / 1.211 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/3.19, allocations: 2.68 MB / 1.214 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/3.19, allocations: 8.281 kB / 1.214 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/3.192, allocations: 0.83 MB / 1.215 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/3.192, allocations: 188.2 kB / 1.215 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/3.192, allocations: 8 kB / 1.215 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/3.193, allocations: 23.97 kB / 1.215 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/3.193, allocations: 47.95 kB / 1.215 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/3.193, allocations: 39.98 kB / 1.215 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007233/3.194, allocations: 419.2 kB / 1.216 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.194, allocations: 0 / 1.216 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001788/3.196, allocations: 387.8 kB / 1.216 GB, free: 98.17 MB / 0.5105 GB 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 () * 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.004237/3.2, allocations: 2.573 MB / 1.218 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001685/3.202, allocations: 0.5385 MB / 1.219 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/3.202, allocations: 1.562 kB / 1.219 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/3.203, allocations: 390.6 kB / 1.219 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/3.206, allocations: 327.9 kB / 1.22 GB, free: 94.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/3.209, allocations: 1.208 MB / 1.221 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/3.21, allocations: 0.9417 MB / 1.222 GB, free: 92.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/3.211, allocations: 291.3 kB / 1.222 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/3.211, allocations: 0 / 1.222 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.492/6.703, allocations: 23.68 MB / 1.245 GB, free: 68.21 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat