Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008988/0.000899, allocations: 96.98 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246 MB, free: 11.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002565, allocations: 8 kB / 306.8 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09845, allocations: 51.49 MB / 358.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2269/0.3254, allocations: 46.77 MB / 405.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005941/0.3314, allocations: 4.831 MB / 409.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.332, allocations: 6.625 kB / 409.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.3328, allocations: 160.8 kB / 410.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000873/0.3337, allocations: 349.2 kB / 410.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01582/0.3495, allocations: 5.236 MB / 415.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.351, allocations: 1.331 MB / 417 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.3513, allocations: 114 kB / 417.1 MB, free: 408 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009283/0.3606, allocations: 6.13 MB / 423.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.3613, allocations: 386.7 kB / 423.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.3614, allocations: 28 kB / 423.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.3768, allocations: 8.489 MB / 432.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.3772, allocations: 203.5 kB / 432.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.3774, allocations: 125.5 kB / 432.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006967/0.3844, allocations: 3.563 MB / 436 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3844, allocations: 0 / 436 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3845, allocations: 0 / 436 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3845, allocations: 0 / 436 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002689/0.3872, allocations: 1.253 MB / 437.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3872, allocations: 12.03 kB / 437.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.3873, allocations: 90.45 kB / 437.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.3876, allocations: 60.11 kB / 437.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.388, allocations: 358.2 kB / 437.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3881, allocations: 29 kB / 437.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.3881, allocations: 44 kB / 437.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3893, allocations: 0.5842 MB / 438.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3893, allocations: 0 / 438.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.3894, allocations: 20 kB / 438.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.3894, allocations: 12 kB / 438.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3907, allocations: 0.7387 MB / 439.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.4051, allocations: 12.01 MB / 451.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4063, allocations: 0.5307 MB / 451.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.4067, allocations: 263 kB / 452 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.4194, allocations: 11.95 MB / 463.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4194, allocations: 42.95 kB / 464 MB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.695e-06/0.4195, allocations: 0 / 464 MB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005407/0.4249, allocations: 2.141 MB / 466.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.4249, allocations: 55.97 kB / 466.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.4253, allocations: 318.8 kB / 466.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4254, allocations: 37.7 kB / 466.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4255, allocations: 200.4 kB / 466.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4256, allocations: 193.2 kB / 466.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.4257, allocations: 15.94 kB / 466.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4258, allocations: 354.7 kB / 467.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.4262, allocations: 237 kB / 467.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.4268, allocations: 331.4 kB / 467.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.4274, allocations: 292.7 kB / 468.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4274, allocations: 3.953 kB / 468.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001755/0.4291, allocations: 0.7478 MB / 468.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4292, allocations: 4 kB / 468.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4292, allocations: 7.984 kB / 468.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.4297, allocations: 106.8 kB / 469 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.4302, allocations: 131.8 kB / 469.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.4326, allocations: 3.267 MB / 472.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.433, allocations: 35.89 kB / 472.4 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.4331, allocations: 36.08 kB / 472.4 MB, free: 4.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.4333, allocations: 194.7 kB / 472.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.4336, allocations: 47.52 kB / 472.7 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.4351, allocations: 0.8189 MB / 473.5 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4352, allocations: 7.953 kB / 473.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4352, allocations: 4 kB / 473.5 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.4362, allocations: 0.7596 MB / 474.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4383, allocations: 1.305 MB / 475.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4383, allocations: 0 / 475.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.4388, allocations: 99.88 kB / 475.7 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008613/0.4396, allocations: 156.6 kB / 475.8 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.4397, allocations: 15.98 kB / 475.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003875/0.4401, allocations: 0.6445 MB / 476.5 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4401, allocations: 0 / 476.5 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.4417, allocations: 0.9122 MB / 477.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4419, allocations: 120.8 kB / 477.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.4419, allocations: 12 kB / 477.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4423, allocations: 39.88 kB / 477.6 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.4424, allocations: 32.39 kB / 477.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4425, allocations: 31.97 kB / 477.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.4428, allocations: 261.8 kB / 477.9 MB, free: 15.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4428, allocations: 0 / 477.9 MB, free: 15.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003616/0.4464, allocations: 1.312 MB / 479.2 MB, free: 13.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006983/0.4534, allocations: 2.896 MB / 482.1 MB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.4549, allocations: 0.8039 MB / 482.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4549, allocations: 4 kB / 482.9 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.4555, allocations: 287.2 kB / 483.2 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4568, allocations: 265.1 kB / 483.4 MB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.463, allocations: 3.545 MB / 487 MB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.4635, allocations: 0.829 MB / 487.8 MB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.464, allocations: 152.3 kB / 488 MB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4643, allocations: 155.4 kB / 488.1 MB, free: 4.754 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4643, allocations: 0 / 488.1 MB, free: 4.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0765/0.5408, allocations: 49.66 MB / 0.5252 GB, free: 3.266 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.5411, allocations: 243.5 kB / 0.5254 GB, free: 2.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/4.254, allocations: 0 / 0.5254 GB, free: 2.938 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat