Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008474/0.0008474, allocations: 88.84 kB / 292.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.967e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 63.26 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.934/7.053, allocations: 3.548 GB / 4.06 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/7.053, allocations: 95.94 kB / 4.06 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.397/8.45, allocations: 408.6 MB / 4.459 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/8.45, allocations: 3.75 kB / 4.459 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.215e-05/8.45, allocations: 22.52 kB / 4.459 GB, free: 61.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00784/8.458, allocations: 2.244 MB / 4.461 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/8.458, allocations: 12.84 kB / 4.461 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003833/8.459, allocations: 127.1 kB / 4.461 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/8.459, allocations: 109.8 kB / 4.462 GB, free: 60.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/8.461, allocations: 0.6278 MB / 4.462 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/8.461, allocations: 120.3 kB / 4.462 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/8.461, allocations: 71.83 kB / 4.462 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/8.462, allocations: 1.126 MB / 4.463 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/8.462, allocations: 0 / 4.463 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/8.463, allocations: 36.55 kB / 4.463 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/8.463, allocations: 63.8 kB / 4.464 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/8.464, allocations: 1.109 MB / 4.465 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/8.469, allocations: 4.675 MB / 4.469 GB, free: 57.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/8.47, allocations: 0.8049 MB / 4.47 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/8.471, allocations: 409.2 kB / 4.47 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009431/8.472, allocations: 1.635 MB / 4.472 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/8.472, allocations: 47.22 kB / 4.472 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/8.472, allocations: 0 / 4.472 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01068/8.483, allocations: 3.63 MB / 4.476 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/8.483, allocations: 115.7 kB / 4.476 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/8.483, allocations: 0.5775 MB / 4.476 GB, free: 55.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/8.483, allocations: 47.64 kB / 4.476 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/8.484, allocations: 387.5 kB / 4.477 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/8.484, allocations: 291.7 kB / 4.477 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/8.484, allocations: 18.62 kB / 4.477 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001018/8.484, allocations: 390 kB / 4.477 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/8.485, allocations: 445.3 kB / 4.478 GB, free: 54.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/8.485, allocations: 0.7031 MB / 4.478 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/8.486, allocations: 0.5377 MB / 4.479 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/8.486, allocations: 3.25 kB / 4.479 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002112/8.488, allocations: 1.537 MB / 4.48 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/8.488, allocations: 9.938 kB / 4.48 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/8.488, allocations: 7.344 kB / 4.48 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/8.494, allocations: 1.329 MB / 4.482 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/8.495, allocations: 157.5 kB / 4.482 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/8.497, allocations: 1.407 MB / 4.483 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/8.498, allocations: 94.05 kB / 4.483 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/8.498, allocations: 54.5 kB / 4.483 GB, free: 53.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/8.498, allocations: 178.3 kB / 4.484 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/8.498, allocations: 81.22 kB / 4.484 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/8.5, allocations: 1.548 MB / 4.485 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/8.5, allocations: 10.09 kB / 4.485 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/8.5, allocations: 5.672 kB / 4.485 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/8.5, allocations: 3.375 kB / 4.485 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/8.504, allocations: 2.503 MB / 4.488 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/8.504, allocations: 0 / 4.488 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/8.505, allocations: 257 kB / 4.488 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/8.506, allocations: 313.2 kB / 4.488 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/8.506, allocations: 37.12 kB / 4.488 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/8.507, allocations: 2.153 MB / 4.49 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/8.507, allocations: 3.969 kB / 4.49 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/8.51, allocations: 1.938 MB / 4.492 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/8.51, allocations: 299.4 kB / 4.492 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/8.511, allocations: 28.05 kB / 4.493 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007759/8.511, allocations: 71.22 kB / 4.493 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/8.511, allocations: 62.78 kB / 4.493 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/8.512, allocations: 48.55 kB / 4.493 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004917/8.512, allocations: 477.7 kB / 4.493 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/8.512, allocations: 0 / 4.493 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002661/8.515, allocations: 0.802 MB / 4.494 GB, free: 50.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00563/8.52, allocations: 4.318 MB / 4.498 GB, free: 48.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001813/8.522, allocations: 1.152 MB / 4.499 GB, free: 48.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/8.522, allocations: 0 / 4.499 GB, free: 48.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/8.523, allocations: 0.6484 MB / 4.5 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/8.525, allocations: 466.3 kB / 4.5 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/8.53, allocations: 2.14 MB / 4.502 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/8.531, allocations: 1.06 MB / 4.503 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001071/8.532, allocations: 344.4 kB / 4.504 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/8.532, allocations: 329.6 kB / 4.504 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/8.532, allocations: 0 / 4.504 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07088/8.603, allocations: 55.05 MB / 4.558 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/8.603, allocations: 233 kB / 4.558 GB, free: 38.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/12.03, allocations: 0 / 4.558 GB, free: 38.23 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat