Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008864, allocations: 96.55 kB / 16.95 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009655, allocations: 174.4 kB / 17.84 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005949, allocations: 8 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1077, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04994/0.1576, allocations: 46.86 MB / 375.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.1636, allocations: 4.837 MB / 380.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.164, allocations: 7.938 kB / 380.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2081/0.3721, allocations: 163.3 kB / 380.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.3735, allocations: 334.6 kB / 380.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01697/0.3905, allocations: 4.97 MB / 385.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.3928, allocations: 1.33 MB / 386.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.3931, allocations: 100.5 kB / 387 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.404, allocations: 6.119 MB / 393.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.4047, allocations: 397.6 kB / 393.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.927e-05/0.4047, allocations: 25 kB / 393.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01762/0.4224, allocations: 8.387 MB / 401.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.4228, allocations: 194.1 kB / 402.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.4231, allocations: 125 kB / 402.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.4305, allocations: 3.537 MB / 405.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4305, allocations: 6.094 kB / 405.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4305, allocations: 0 / 405.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4306, allocations: 0 / 405.8 MB, free: 8.305 MB / 318.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.003373/0.4339, allocations: 1.237 MB / 407 MB, free: 7.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.434, allocations: 10.34 kB / 407 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.4342, allocations: 82.48 kB / 407.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.4345, allocations: 65.45 kB / 407.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.435, allocations: 352.5 kB / 407.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.435, allocations: 35.75 kB / 407.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.4351, allocations: 40.84 kB / 407.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4362, allocations: 0.589 MB / 408.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4362, allocations: 0 / 408.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.4364, allocations: 22.95 kB / 408.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4364, allocations: 12 kB / 408.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4376, allocations: 0.7449 MB / 409 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.4516, allocations: 12.01 MB / 421 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.453, allocations: 0.5346 MB / 421.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.4534, allocations: 259.3 kB / 421.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.4674, allocations: 11.94 MB / 433.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.4675, allocations: 41.62 kB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 4.348e-06/0.4675, allocations: 4 kB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005887/0.4734, allocations: 2.131 MB / 435.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.4735, allocations: 58.88 kB / 436 MB, free: 8.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.4739, allocations: 322.1 kB / 436.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.474, allocations: 39.64 kB / 436.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4741, allocations: 194.8 kB / 436.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.4743, allocations: 193.7 kB / 436.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.4744, allocations: 11.25 kB / 436.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4745, allocations: 345.3 kB / 437 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.475, allocations: 242.3 kB / 437.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.4756, allocations: 335 kB / 437.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.4762, allocations: 286.4 kB / 437.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4763, allocations: 0 / 437.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001792/0.4781, allocations: 0.7542 MB / 438.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4781, allocations: 10.66 kB / 438.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4781, allocations: 0 / 438.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.4786, allocations: 115.4 kB / 438.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.4791, allocations: 125.4 kB / 438.9 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.4816, allocations: 3.274 MB / 442.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.4822, allocations: 43.2 kB / 442.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.4822, allocations: 34.48 kB / 442.2 MB, free: 2.543 MB / 350.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.0002987/0.4826, allocations: 189 kB / 442.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4828, allocations: 43.53 kB / 442.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.4844, allocations: 0.8207 MB / 443.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4845, allocations: 4 kB / 443.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4845, allocations: 4 kB / 443.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.4856, allocations: 0.7624 MB / 444 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.4877, allocations: 1.301 MB / 445.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4878, allocations: 4 kB / 445.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.4882, allocations: 101.6 kB / 445.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009681/0.4892, allocations: 145.2 kB / 445.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.4892, allocations: 18.55 kB / 445.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004082/0.4897, allocations: 0.642 MB / 446.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4897, allocations: 4.125 kB / 446.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4913, allocations: 0.9064 MB / 447.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.4916, allocations: 122.9 kB / 447.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.4917, allocations: 15.23 kB / 447.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.4921, allocations: 42.33 kB / 447.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4922, allocations: 34.48 kB / 447.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.4923, allocations: 33.66 kB / 447.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.4926, allocations: 248.4 kB / 447.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4926, allocations: 0 / 447.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004715/0.4973, allocations: 1.303 MB / 448.9 MB, free: 12.89 MB / 366.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.008775/0.5061, allocations: 2.905 MB / 451.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.5079, allocations: 0.8089 MB / 452.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.508, allocations: 0 / 452.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.5085, allocations: 285.9 kB / 452.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5102, allocations: 270.7 kB / 453.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/0.5178, allocations: 3.521 MB / 456.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.5183, allocations: 0.8367 MB / 457.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006777/0.519, allocations: 148.4 kB / 457.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.5193, allocations: 156.4 kB / 457.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5193, allocations: 0 / 457.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09632/0.6156, allocations: 50.87 MB / 0.4968 GB, free: 2.465 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.616, allocations: 258.3 kB / 0.4971 GB, free: 2.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.971/4.587, allocations: 3.938 kB / 0.4971 GB, free: 2.117 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat