Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_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.0009558/0.0009559, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001184/0.001184, allocations: 179.3 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002652, allocations: 8.469 kB / 300.9 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09547, allocations: 50.42 MB / 351.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3559/0.4514, allocations: 137.4 MB / 488.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.4529, allocations: 1.482 MB / 490.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.453, allocations: 2.5 kB / 490.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4533, allocations: 39.89 kB / 490.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.4536, allocations: 141.4 kB / 490.4 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.4557, allocations: 0.7578 MB / 491.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.4561, allocations: 396.5 kB / 491.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.4562, allocations: 20.31 kB / 491.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.4564, allocations: 138.4 kB / 491.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.4566, allocations: 127.1 kB / 491.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4566, allocations: 7.906 kB / 491.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.4586, allocations: 1.299 MB / 493.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.4587, allocations: 73.09 kB / 493.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.4588, allocations: 64.77 kB / 493.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007829/0.4596, allocations: 0.6234 MB / 493.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4596, allocations: 0 / 493.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4596, allocations: 0 / 493.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4596, allocations: 0 / 493.8 MB, free: 6.453 MB / 366.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.001508/0.4611, allocations: 0.6381 MB / 494.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4612, allocations: 10.88 kB / 494.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.4612, allocations: 55.73 kB / 494.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.4613, allocations: 18.84 kB / 494.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4616, allocations: 207.2 kB / 494.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4616, allocations: 13.39 kB / 494.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.4617, allocations: 23.44 kB / 494.8 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.4622, allocations: 255.8 kB / 495.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4622, allocations: 0 / 495.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.4623, allocations: 10.3 kB / 495.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.4623, allocations: 4.594 kB / 495.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.4629, allocations: 275.4 kB / 495.3 MB, free: 5.457 MB / 366.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.001339/0.4643, allocations: 0.7896 MB / 496.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.4648, allocations: 222.7 kB / 496.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.4651, allocations: 139.5 kB / 496.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.4655, allocations: 356.7 kB / 496.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4655, allocations: 38.78 kB / 496.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.4655, allocations: 0 / 496.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002113/0.4676, allocations: 0.6734 MB / 497.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4677, allocations: 86.17 kB / 497.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.4678, allocations: 118.8 kB / 497.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.4678, allocations: 32.7 kB / 497.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.4679, allocations: 106.8 kB / 497.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.468, allocations: 131.8 kB / 498 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.468, allocations: 6.219 kB / 498 MB, free: 3.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4682, allocations: 328.6 kB / 498.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.4685, allocations: 131.7 kB / 498.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.4688, allocations: 207.6 kB / 498.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.4692, allocations: 155.8 kB / 498.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4692, allocations: 0 / 498.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007987/0.47, allocations: 402.8 kB / 499.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.47, allocations: 13.28 kB / 499.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.47, allocations: 3.062 kB / 499.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.47, allocations: 2.938 kB / 499.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.4705, allocations: 88.91 kB / 499.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4705, allocations: 2.562 kB / 499.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.4708, allocations: 32.39 kB / 499.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.4708, allocations: 18.2 kB / 499.4 MB, free: 3.027 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.000133/0.471, allocations: 143.3 kB / 499.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.471, allocations: 17.06 kB / 499.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.4714, allocations: 174.9 kB / 499.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4714, allocations: 5.094 kB / 499.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4714, allocations: 4.938 kB / 499.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4714, allocations: 3.984 kB / 499.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.4729, allocations: 0.7625 MB / 0.4887 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4729, allocations: 0 / 0.4887 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.4733, allocations: 77.44 kB / 0.4888 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.4733, allocations: 2.562 kB / 0.4888 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4733, allocations: 12.66 kB / 0.4888 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.4734, allocations: 7 kB / 0.4888 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4734, allocations: 1.75 kB / 0.4888 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4745, allocations: 0.7027 MB / 0.4895 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4747, allocations: 125.4 kB / 0.4896 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.4747, allocations: 10.09 kB / 0.4897 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.475, allocations: 22.05 kB / 0.4897 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4751, allocations: 23.55 kB / 0.4897 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.4751, allocations: 17.98 kB / 0.4897 GB, free: 1.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.4752, allocations: 97.95 kB / 0.4898 GB, free: 1.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4752, allocations: 0 / 0.4898 GB, free: 1.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000591/0.4758, allocations: 141.3 kB / 0.4899 GB, free: 1.699 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.001828/0.4776, allocations: 1.358 MB / 0.4913 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008545/0.4785, allocations: 336.6 kB / 0.4916 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4785, allocations: 0 / 0.4916 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.4789, allocations: 183.9 kB / 0.4918 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.4796, allocations: 99.7 kB / 0.4919 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.4825, allocations: 1.573 MB / 0.4934 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4828, allocations: 0.7366 MB / 0.4941 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.4832, allocations: 77.89 kB / 0.4942 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.4834, allocations: 63.03 kB / 0.4942 GB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4834, allocations: 0 / 0.4942 GB, free: 14.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.5023, allocations: 7.496 MB / 0.5016 GB, free: 7.273 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.5025, allocations: 172.1 kB / 0.5017 GB, free: 7.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.471, allocations: 0 / 0.5017 GB, free: 7.031 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat