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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008359/0.0008359, allocations: 108.5 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002068, allocations: 4 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2033, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.14/12.35, allocations: 6.124 GB / 6.524 GB, free: 149.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/12.35, allocations: 81.73 kB / 6.524 GB, free: 149.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625/14.97, allocations: 0.8131 GB / 7.337 GB, free: 32.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/14.97, allocations: 0 / 7.337 GB, free: 32.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/14.97, allocations: 7.688 kB / 7.337 GB, free: 32.74 MB / 474.7 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.01071/14.98, allocations: 2.777 MB / 7.34 GB, free: 31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/14.98, allocations: 19.31 kB / 7.34 GB, free: 31 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/14.98, allocations: 81.92 kB / 7.34 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/14.98, allocations: 58.59 kB / 7.34 GB, free: 30.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/14.98, allocations: 363 kB / 7.34 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/14.98, allocations: 35.47 kB / 7.34 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/14.98, allocations: 47.55 kB / 7.34 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/14.98, allocations: 0.5621 MB / 7.341 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/14.98, allocations: 0 / 7.341 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/14.98, allocations: 17.69 kB / 7.341 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/14.98, allocations: 16.5 kB / 7.341 GB, free: 30.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/14.99, allocations: 0.7165 MB / 7.342 GB, free: 30.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/15, allocations: 11.64 MB / 7.353 GB, free: 19.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/15, allocations: 0.5292 MB / 7.353 GB, free: 19.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/15.02, allocations: 20.92 MB / 7.374 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/15.02, allocations: 40.38 kB / 7.374 GB, free: 13.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.687e-06/15.02, allocations: 0 / 7.374 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.0065/15.03, allocations: 2.176 MB / 7.376 GB, free: 12.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/15.03, allocations: 59.16 kB / 7.376 GB, free: 12.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/15.03, allocations: 286.5 kB / 7.376 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/15.03, allocations: 38.2 kB / 7.376 GB, free: 12.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/15.03, allocations: 196.7 kB / 7.377 GB, free: 11.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/15.03, allocations: 196.2 kB / 7.377 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/15.03, allocations: 12 kB / 7.377 GB, free: 11.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/15.03, allocations: 352.3 kB / 7.377 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/15.03, allocations: 232.3 kB / 7.377 GB, free: 11.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/15.03, allocations: 332.1 kB / 7.378 GB, free: 10.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/15.03, allocations: 274.2 kB / 7.378 GB, free: 10.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/15.03, allocations: 0 / 7.378 GB, free: 10.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001609/15.03, allocations: 0.7434 MB / 7.379 GB, free: 9.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/15.03, allocations: 8 kB / 7.379 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/15.03, allocations: 3.516 kB / 7.379 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/15.03, allocations: 110.1 kB / 7.379 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/15.03, allocations: 129.8 kB / 7.379 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/15.04, allocations: 3.283 MB / 7.382 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/15.04, allocations: 35.33 kB / 7.382 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/15.04, allocations: 38.47 kB / 7.382 GB, free: 22.16 MB / 0.4948 GB 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.0003127/15.04, allocations: 200.7 kB / 7.382 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/15.04, allocations: 47.53 kB / 7.382 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/15.04, allocations: 0.8342 MB / 7.383 GB, free: 21.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/15.04, allocations: 8 kB / 7.383 GB, free: 21.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/15.04, allocations: 0 / 7.383 GB, free: 21.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/15.04, allocations: 0.7745 MB / 7.384 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/15.04, allocations: 1.318 MB / 7.385 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/15.04, allocations: 4.062 kB / 7.385 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/15.04, allocations: 107.6 kB / 7.385 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008718/15.04, allocations: 150.2 kB / 7.385 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/15.04, allocations: 15.28 kB / 7.385 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004815/15.04, allocations: 0.6532 MB / 7.386 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/15.04, allocations: 0 / 7.386 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/15.05, allocations: 0.9561 MB / 7.387 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/15.05, allocations: 127.7 kB / 7.387 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/15.05, allocations: 16 kB / 7.387 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/15.05, allocations: 39.59 kB / 7.387 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/15.05, allocations: 27.03 kB / 7.387 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/15.05, allocations: 38.55 kB / 7.387 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002831/15.05, allocations: 251.3 kB / 7.388 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/15.05, allocations: 0 / 7.388 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00935/15.06, allocations: 1.967 MB / 7.389 GB, free: 15.08 MB / 0.4948 GB 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 (53): * Single equations (assignments): 52 * 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.01916/15.08, allocations: 4.486 MB / 7.394 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002115/15.08, allocations: 0.8123 MB / 7.395 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/15.08, allocations: 4.562 kB / 7.395 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/15.08, allocations: 308.2 kB / 7.395 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/15.08, allocations: 255 kB / 7.395 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/15.09, allocations: 5.51 MB / 7.401 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/15.09, allocations: 0.8452 MB / 7.401 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007997/15.1, allocations: 145.6 kB / 7.402 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/15.1, allocations: 162.2 kB / 7.402 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/15.1, allocations: 0 / 7.402 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/15.5, allocations: 66.97 MB / 7.467 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/15.5, allocations: 244.7 kB / 7.467 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.084/19.58, allocations: 0 / 7.467 GB, free: 62.39 MB / 0.4948 GB (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