Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",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.0009616/0.0009616, allocations: 95.12 kB / 16.94 MB, free: 5.98 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.0009485/0.0009486, allocations: 175.5 kB / 17.82 MB, free: 5.648 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.414/1.414, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004651/0.0004652, allocations: 12.78 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09497, allocations: 47.59 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3244/0.4194, allocations: 127.3 MB / 455.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4212, allocations: 1.368 MB / 457.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.4213, allocations: 4 kB / 457.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.4216, allocations: 43.78 kB / 457.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.4221, allocations: 123.6 kB / 457.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.4241, allocations: 0.596 MB / 457.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.4245, allocations: 179.7 kB / 458 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.4245, allocations: 13.44 kB / 458 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.4248, allocations: 163.6 kB / 458.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.425, allocations: 87.72 kB / 458.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.4251, allocations: 8 kB / 458.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.4272, allocations: 1.174 MB / 459.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.4273, allocations: 59.86 kB / 459.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.4273, allocations: 57.64 kB / 459.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.428, allocations: 0.5125 MB / 460.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.4281, allocations: 0 / 460.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4281, allocations: 0 / 460.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4281, allocations: 0 / 460.1 MB, free: 4.91 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001607/0.4297, allocations: 0.6091 MB / 460.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4297, allocations: 12.03 kB / 460.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.4298, allocations: 50.55 kB / 460.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4299, allocations: 15.81 kB / 460.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4302, allocations: 222.8 kB / 461 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4302, allocations: 12.27 kB / 461 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.4302, allocations: 16 kB / 461 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.4308, allocations: 265.4 kB / 461.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4309, allocations: 0 / 461.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.4309, allocations: 8 kB / 461.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.4309, allocations: 4 kB / 461.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.4315, allocations: 263.7 kB / 461.6 MB, free: 3.344 MB / 350.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.001429/0.433, allocations: 0.7937 MB / 462.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.4336, allocations: 221.1 kB / 462.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.4339, allocations: 352.8 kB / 462.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4339, allocations: 34.56 kB / 462.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.4339, allocations: 0.8438 kB / 462.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002327/0.4363, allocations: 0.6715 MB / 463.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4363, allocations: 85.05 kB / 463.7 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.4365, allocations: 125.8 kB / 463.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4365, allocations: 33.7 kB / 463.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.4366, allocations: 104.8 kB / 464 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.883e-05/0.4367, allocations: 122.2 kB / 464.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.4367, allocations: 12 kB / 464.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4368, allocations: 330.8 kB / 464.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.4372, allocations: 135.8 kB / 464.5 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.4376, allocations: 207.5 kB / 464.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.438, allocations: 148.9 kB / 464.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.438, allocations: 4 kB / 464.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009039/0.439, allocations: 397.6 kB / 465.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.439, allocations: 11.94 kB / 465.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.439, allocations: 0 / 465.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.439, allocations: 4 kB / 465.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.4395, allocations: 91.81 kB / 465.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4396, allocations: 4.219 kB / 465.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.4399, allocations: 35.83 kB / 465.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4399, allocations: 16.86 kB / 465.4 MB, free: 15.19 MB / 366.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.00014/0.4401, allocations: 145.7 kB / 465.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.4401, allocations: 15.91 kB / 465.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.4405, allocations: 181.8 kB / 465.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4405, allocations: 4 kB / 465.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4405, allocations: 0 / 465.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4405, allocations: 11.98 kB / 465.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4423, allocations: 0.7442 MB / 466.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4423, allocations: 3.75 kB / 466.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.4427, allocations: 83.83 kB / 466.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4427, allocations: 4 kB / 466.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.4428, allocations: 16.16 kB / 466.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4428, allocations: 3.938 kB / 466.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4428, allocations: 4 kB / 466.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4443, allocations: 0.7716 MB / 467.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.4444, allocations: 124.8 kB / 467.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4445, allocations: 8 kB / 467.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.4448, allocations: 35.94 kB / 467.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.4449, allocations: 23.97 kB / 467.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.4449, allocations: 12 kB / 467.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.445, allocations: 95.58 kB / 467.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.445, allocations: 0 / 467.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005879/0.4456, allocations: 139.9 kB / 467.9 MB, free: 12.61 MB / 366.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 (38): * Single equations (assignments): 38 * 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.002094/0.4477, allocations: 1.845 MB / 469.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.4487, allocations: 344 kB / 470 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4487, allocations: 0 / 470 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.4491, allocations: 175.8 kB / 470.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.4497, allocations: 90.34 kB / 470.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.4532, allocations: 2.777 MB / 473.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.4536, allocations: 0.7413 MB / 473.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.454, allocations: 77.89 kB / 473.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4541, allocations: 67.39 kB / 474 MB, free: 6.324 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4542, allocations: 0 / 474 MB, free: 6.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4764, allocations: 7.477 MB / 481.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.4766, allocations: 166.5 kB / 481.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.434, allocations: 0 / 481.6 MB, free: 14.6 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat