Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.002134/0.002134, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.91 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4139/0.4139, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.124e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4244, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.35, allocations: 0.6183 GB / 1.084 GB, free: 118.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/2.35, allocations: 98.12 kB / 1.084 GB, free: 118.5 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/3.485, allocations: 226.3 MB / 1.305 GB, free: 95.05 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.886e-06/3.485, allocations: 3.812 kB / 1.305 GB, free: 95.05 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.702e-05/3.485, allocations: 18.5 kB / 1.305 GB, free: 95.05 MB / 0.4952 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.003964/3.489, allocations: 1.156 MB / 1.307 GB, free: 94.17 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/3.489, allocations: 11.69 kB / 1.307 GB, free: 94.17 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/3.491, allocations: 132.3 kB / 1.307 GB, free: 94.11 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/3.492, allocations: 0.54 MB / 1.307 GB, free: 93.68 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/3.492, allocations: 94.2 kB / 1.307 GB, free: 93.61 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/3.493, allocations: 32.72 kB / 1.307 GB, free: 93.6 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00135/3.494, allocations: 0.5218 MB / 1.308 GB, free: 93.38 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/3.496, allocations: 0.7332 MB / 1.309 GB, free: 92.85 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/3.496, allocations: 4 kB / 1.309 GB, free: 92.84 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/3.496, allocations: 7.484 kB / 1.309 GB, free: 92.84 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.444e-05/3.496, allocations: 39.52 kB / 1.309 GB, free: 92.83 MB / 0.4952 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.006472/3.502, allocations: 3.89 MB / 1.312 GB, free: 88.84 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/3.503, allocations: 257.4 kB / 1.313 GB, free: 88.58 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/3.503, allocations: 129.3 kB / 1.313 GB, free: 88.45 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/3.503, allocations: 28.94 kB / 1.313 GB, free: 88.42 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/3.503, allocations: 34.8 kB / 1.313 GB, free: 88.38 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/3.503, allocations: 0 / 1.313 GB, free: 88.38 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008781/3.512, allocations: 1.442 MB / 1.314 GB, free: 86.86 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/3.512, allocations: 132.5 kB / 1.314 GB, free: 86.7 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/3.513, allocations: 473.9 kB / 1.315 GB, free: 86.23 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/3.513, allocations: 29.7 kB / 1.315 GB, free: 86.2 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/3.513, allocations: 433.3 kB / 1.315 GB, free: 85.77 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/3.513, allocations: 114.4 kB / 1.315 GB, free: 85.66 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/3.513, allocations: 3.938 kB / 1.315 GB, free: 85.66 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/3.514, allocations: 342.8 kB / 1.316 GB, free: 85.31 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/3.514, allocations: 181.5 kB / 1.316 GB, free: 85.14 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/3.515, allocations: 493.1 kB / 1.316 GB, free: 84.51 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/3.516, allocations: 315.4 kB / 1.317 GB, free: 84.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/3.516, allocations: 4 kB / 1.317 GB, free: 84.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002105/3.518, allocations: 0.7873 MB / 1.317 GB, free: 83.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/3.518, allocations: 15.95 kB / 1.317 GB, free: 83.38 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/3.518, allocations: 8 kB / 1.317 GB, free: 83.38 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/3.52, allocations: 273.2 kB / 1.318 GB, free: 83.11 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/3.52, allocations: 127.8 kB / 1.318 GB, free: 82.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/3.522, allocations: 0.95 MB / 1.319 GB, free: 82.01 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/3.523, allocations: 27.97 kB / 1.319 GB, free: 81.98 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/3.523, allocations: 72.05 kB / 1.319 GB, free: 81.91 MB / 0.4952 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.0002309/3.523, allocations: 136.6 kB / 1.319 GB, free: 81.77 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001285/3.525, allocations: 425.6 kB / 1.319 GB, free: 81.34 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/3.525, allocations: 63.25 kB / 1.319 GB, free: 81.28 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/3.527, allocations: 0.5167 MB / 1.32 GB, free: 80.75 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/3.527, allocations: 4 kB / 1.32 GB, free: 80.75 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/3.527, allocations: 0 / 1.32 GB, free: 80.75 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/3.527, allocations: 0 / 1.32 GB, free: 80.75 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/3.529, allocations: 0.9851 MB / 1.321 GB, free: 79.72 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/3.529, allocations: 0 / 1.321 GB, free: 79.72 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/3.531, allocations: 203.8 kB / 1.321 GB, free: 79.52 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/3.531, allocations: 20.88 kB / 1.321 GB, free: 79.5 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/3.531, allocations: 12 kB / 1.321 GB, free: 79.48 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/3.533, allocations: 2.589 MB / 1.324 GB, free: 76.66 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.533, allocations: 0 / 1.324 GB, free: 76.66 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/3.535, allocations: 0.6934 MB / 1.324 GB, free: 75.94 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/3.535, allocations: 172.3 kB / 1.324 GB, free: 75.75 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/3.535, allocations: 4 kB / 1.324 GB, free: 75.75 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/3.536, allocations: 24.03 kB / 1.325 GB, free: 75.73 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/3.536, allocations: 31.92 kB / 1.325 GB, free: 75.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/3.536, allocations: 39.92 kB / 1.325 GB, free: 75.66 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005869/3.537, allocations: 342.9 kB / 1.325 GB, free: 75.32 MB / 0.4952 GB Notification: Performance of sort global known variables: time 3.81e-07/3.537, allocations: 0 / 1.325 GB, free: 75.32 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001836/3.539, allocations: 343.8 kB / 1.325 GB, free: 74.99 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.004362/3.543, allocations: 2.392 MB / 1.328 GB, free: 72.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001748/3.545, allocations: 491.2 kB / 1.328 GB, free: 72.22 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/3.545, allocations: 0 / 1.328 GB, free: 72.22 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/3.546, allocations: 346.8 kB / 1.328 GB, free: 71.87 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/3.548, allocations: 251.2 kB / 1.329 GB, free: 71.63 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/3.552, allocations: 1.115 MB / 1.33 GB, free: 70.46 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/3.552, allocations: 0.9451 MB / 1.331 GB, free: 69.49 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/3.553, allocations: 267.3 kB / 1.331 GB, free: 69.23 MB / 0.4952 GB Notification: Performance of SimCode: time 1.352e-06/3.553, allocations: 0 / 1.331 GB, free: 69.23 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.559/7.112, allocations: 22.81 MB / 1.353 GB, free: 46.41 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat