Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001088, allocations: 99.61 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002813, allocations: 4 kB / 306.7 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1243, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2741/0.3984, allocations: 21.96 MB / 380.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.4018, allocations: 1.895 MB / 382.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4019, allocations: 1.188 kB / 382.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.4023, allocations: 45.58 kB / 382.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.4027, allocations: 115.3 kB / 382.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01868/0.4214, allocations: 4.754 MB / 387 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.4219, allocations: 179.5 kB / 387.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.4219, allocations: 13.36 kB / 387.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.4224, allocations: 124.7 kB / 387.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.4226, allocations: 82.31 kB / 387.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.4226, allocations: 6.719 kB / 387.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02043/0.4431, allocations: 8.353 MB / 395.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4433, allocations: 58.55 kB / 395.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4434, allocations: 55.86 kB / 395.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007899/0.4513, allocations: 2.969 MB / 398.8 MB, free: 1.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4513, allocations: 4 kB / 398.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4513, allocations: 0 / 398.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4514, allocations: 0 / 398.8 MB, free: 1.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003942/0.4553, allocations: 1.073 MB / 399.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4554, allocations: 9.5 kB / 399.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.4554, allocations: 48.95 kB / 399.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4556, allocations: 19.06 kB / 399.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.4558, allocations: 217.5 kB / 400.2 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4558, allocations: 13.67 kB / 400.2 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.4558, allocations: 23.72 kB / 400.2 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.4566, allocations: 284 kB / 400.5 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4566, allocations: 0 / 400.5 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.4567, allocations: 7.219 kB / 400.5 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.4567, allocations: 9.828 kB / 400.5 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.4574, allocations: 314.8 kB / 400.8 MB, free: 124 kB / 302.1 MB 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.001641/0.459, allocations: 0.8353 MB / 401.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.4598, allocations: 247.9 kB / 401.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/0.4757, allocations: 12.91 MB / 414.8 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4758, allocations: 34.56 kB / 414.8 MB, free: 276 kB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.4758, allocations: 0 / 414.8 MB, free: 276 kB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002924/0.4787, allocations: 0.6824 MB / 415.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.4788, allocations: 85.09 kB / 415.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4789, allocations: 137.7 kB / 415.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4789, allocations: 29.7 kB / 415.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.479, allocations: 112.8 kB / 415.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.557e-05/0.4791, allocations: 126.1 kB / 416 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.4791, allocations: 8 kB / 416 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4792, allocations: 326.8 kB / 416.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.4796, allocations: 139.8 kB / 416.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.4802, allocations: 207.5 kB / 416.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4807, allocations: 151.9 kB / 416.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4807, allocations: 0 / 416.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001073/0.4817, allocations: 409.1 kB / 417.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.4818, allocations: 8 kB / 417.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4818, allocations: 0 / 417.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.4818, allocations: 7.984 kB / 417.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.4824, allocations: 95.81 kB / 417.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4824, allocations: 7.984 kB / 417.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.4827, allocations: 32.05 kB / 417.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.4828, allocations: 24.5 kB / 417.4 MB, free: 13.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.4829, allocations: 145.7 kB / 417.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4831, allocations: 19.81 kB / 417.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.4835, allocations: 192.5 kB / 417.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4835, allocations: 4 kB / 417.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4836, allocations: 0 / 417.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4836, allocations: 3.938 kB / 417.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4853, allocations: 0.7708 MB / 418.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4853, allocations: 0 / 418.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4857, allocations: 83.88 kB / 418.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.4857, allocations: 4 kB / 418.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4858, allocations: 8 kB / 418.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.4858, allocations: 8.812 kB / 418.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4858, allocations: 4.156 kB / 418.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.4873, allocations: 0.7758 MB / 419.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4875, allocations: 116.9 kB / 419.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.4875, allocations: 8 kB / 419.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.4879, allocations: 23.98 kB / 419.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4879, allocations: 28.02 kB / 419.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.488, allocations: 20 kB / 419.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.904e-05/0.488, allocations: 95.27 kB / 419.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4881, allocations: 0 / 419.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003598/0.4917, allocations: 0.9486 MB / 420.6 MB, free: 10.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007985/0.4997, allocations: 2.797 MB / 423.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.5009, allocations: 351.3 kB / 423.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5009, allocations: 0 / 423.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.5014, allocations: 171.8 kB / 423.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.5021, allocations: 94.34 kB / 424 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.5078, allocations: 3.058 MB / 427.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5082, allocations: 0.7374 MB / 427.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.5087, allocations: 85.83 kB / 427.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.5088, allocations: 71.39 kB / 428 MB, free: 2.684 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5088, allocations: 0 / 428 MB, free: 2.684 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06013/0.569, allocations: 32.51 MB / 460.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.5693, allocations: 221.1 kB / 460.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/3.825, allocations: 0 / 460.7 MB, free: 2.043 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat