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.001555/0.001555, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.037/2.037, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001134/0.001134, allocations: 92.42 kB / 270.9 MB, free: 8.395 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.551/0.551, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006354, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1409, allocations: 58.85 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.332/2.473, allocations: 0.6404 GB / 1.119 GB, free: 115 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/2.474, allocations: 96.06 kB / 1.119 GB, free: 114.9 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.177/3.651, allocations: 232.3 MB / 1.346 GB, free: 73.74 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.255e-06/3.651, allocations: 3.938 kB / 1.346 GB, free: 73.73 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.48e-05/3.651, allocations: 18.34 kB / 1.346 GB, free: 73.73 MB / 0.4949 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.004466/3.656, allocations: 1.236 MB / 1.347 GB, free: 72.8 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/3.656, allocations: 13.28 kB / 1.347 GB, free: 72.79 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003661/3.656, allocations: 105.2 kB / 1.347 GB, free: 72.71 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/3.657, allocations: 126.5 kB / 1.348 GB, free: 72.65 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/3.659, allocations: 0.5375 MB / 1.348 GB, free: 72.22 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/3.659, allocations: 104.9 kB / 1.348 GB, free: 72.14 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/3.659, allocations: 55.42 kB / 1.348 GB, free: 72.12 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/3.661, allocations: 0.8137 MB / 1.349 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/3.661, allocations: 3.938 kB / 1.349 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/3.662, allocations: 28.33 kB / 1.349 GB, free: 71.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.264e-05/3.662, allocations: 37.39 kB / 1.349 GB, free: 71.49 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/3.663, allocations: 0.6153 MB / 1.35 GB, free: 71.19 MB / 0.4949 GB 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.006624/3.67, allocations: 3.939 MB / 1.354 GB, free: 67.67 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/3.671, allocations: 333 kB / 1.354 GB, free: 67.49 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/3.671, allocations: 27.83 kB / 1.354 GB, free: 67.48 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/3.671, allocations: 38.84 kB / 1.354 GB, free: 67.44 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=34): time 3.066e-06/3.671, allocations: 0 / 1.354 GB, free: 67.44 MB / 0.4949 GB Notification: Performance of matching and sorting (n=39): time 0.00945/3.681, allocations: 1.65 MB / 1.356 GB, free: 66.41 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/3.681, allocations: 135.8 kB / 1.356 GB, free: 66.25 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/3.682, allocations: 0.54 MB / 1.356 GB, free: 65.93 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/3.682, allocations: 37.42 kB / 1.356 GB, free: 65.89 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/3.682, allocations: 391.1 kB / 1.357 GB, free: 65.54 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/3.682, allocations: 140.6 kB / 1.357 GB, free: 65.41 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/3.682, allocations: 15.94 kB / 1.357 GB, free: 65.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/3.682, allocations: 334.6 kB / 1.357 GB, free: 65.07 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/3.683, allocations: 197.6 kB / 1.357 GB, free: 64.98 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/3.684, allocations: 0.5126 MB / 1.358 GB, free: 64.45 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/3.684, allocations: 289.7 kB / 1.358 GB, free: 64.31 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/3.684, allocations: 2.938 kB / 1.358 GB, free: 64.31 MB / 0.4949 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002081/3.687, allocations: 0.8428 MB / 1.359 GB, free: 63.88 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/3.687, allocations: 7 kB / 1.359 GB, free: 63.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/3.687, allocations: 10.56 kB / 1.359 GB, free: 63.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/3.689, allocations: 315.4 kB / 1.359 GB, free: 63.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/3.69, allocations: 128.8 kB / 1.359 GB, free: 63.72 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/3.692, allocations: 0.927 MB / 1.36 GB, free: 62.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/3.693, allocations: 54.27 kB / 1.36 GB, free: 62.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/3.693, allocations: 64.39 kB / 1.36 GB, free: 62.96 MB / 0.4949 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 () * 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.0006071/3.694, allocations: 246.7 kB / 1.361 GB, free: 62.76 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/3.694, allocations: 65.81 kB / 1.361 GB, free: 62.73 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/3.696, allocations: 0.6783 MB / 1.361 GB, free: 62.32 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/3.696, allocations: 3.969 kB / 1.361 GB, free: 62.32 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/3.696, allocations: 0 / 1.361 GB, free: 62.32 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/3.696, allocations: 7.859 kB / 1.361 GB, free: 62.32 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/3.699, allocations: 1.259 MB / 1.363 GB, free: 61.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.699, allocations: 0 / 1.363 GB, free: 61.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/3.701, allocations: 210.3 kB / 1.363 GB, free: 61.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/3.701, allocations: 24.06 kB / 1.363 GB, free: 61.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/3.702, allocations: 23 kB / 1.363 GB, free: 61.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/3.704, allocations: 2.692 MB / 1.365 GB, free: 58.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/3.704, allocations: 320 / 1.365 GB, free: 58.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/3.706, allocations: 0.8365 MB / 1.366 GB, free: 57.94 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/3.706, allocations: 188.1 kB / 1.366 GB, free: 57.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/3.706, allocations: 11.91 kB / 1.366 GB, free: 57.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/3.707, allocations: 28.12 kB / 1.366 GB, free: 57.75 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/3.707, allocations: 51.48 kB / 1.367 GB, free: 57.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/3.708, allocations: 43.48 kB / 1.367 GB, free: 57.71 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0007895/3.708, allocations: 424.4 kB / 1.367 GB, free: 57.46 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.61e-07/3.708, allocations: 0 / 1.367 GB, free: 57.46 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002025/3.71, allocations: 385.2 kB / 1.367 GB, free: 57.36 MB / 0.4949 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 () * 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.004681/3.715, allocations: 2.601 MB / 1.37 GB, free: 55.13 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001946/3.717, allocations: 0.54 MB / 1.37 GB, free: 54.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/3.717, allocations: 8 kB / 1.37 GB, free: 54.59 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/3.719, allocations: 390.2 kB / 1.371 GB, free: 54.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/3.722, allocations: 337.8 kB / 1.371 GB, free: 53.87 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/3.733, allocations: 10.9 MB / 1.382 GB, free: 42.69 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/3.734, allocations: 0.9417 MB / 1.383 GB, free: 41.72 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009778/3.735, allocations: 283.3 kB / 1.383 GB, free: 41.45 MB / 0.4949 GB Notification: Performance of SimCode: time 1.403e-06/3.735, allocations: 0 / 1.383 GB, free: 41.45 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.614/7.349, allocations: 23.9 MB / 1.406 GB, free: 17.54 MB / 0.4949 GB (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