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.001153/0.001153, allocations: 101.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001439, allocations: 192.3 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002219, allocations: 8 kB / 306.8 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09839, allocations: 51.5 MB / 358.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2167/0.3151, allocations: 24.57 MB / 382.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.3176, allocations: 2.074 MB / 384.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.3177, allocations: 1.219 kB / 385 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.318, allocations: 43.61 kB / 385 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.3184, allocations: 141.8 kB / 385.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.3345, allocations: 4.84 MB / 390 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.3352, allocations: 386.4 kB / 390.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.3352, allocations: 19.61 kB / 390.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.3355, allocations: 120.9 kB / 390.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3357, allocations: 122.6 kB / 390.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.3357, allocations: 7.219 kB / 390.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01918/0.3549, allocations: 8.334 MB / 398.9 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3551, allocations: 66.75 kB / 399 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3553, allocations: 56.33 kB / 399.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.3629, allocations: 3.029 MB / 402.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.363, allocations: 0 / 402.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.363, allocations: 0 / 402.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.363, allocations: 0 / 402.1 MB, free: 15.43 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002851/0.3658, allocations: 1.089 MB / 403.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3659, allocations: 8.438 kB / 403.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.366, allocations: 53.33 kB / 403.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3661, allocations: 18.97 kB / 403.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3663, allocations: 216.7 kB / 403.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3664, allocations: 10.67 kB / 403.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.3664, allocations: 18.69 kB / 403.5 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.3671, allocations: 282.7 kB / 403.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3671, allocations: 1.219 kB / 403.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3671, allocations: 7.531 kB / 403.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.3671, allocations: 11.02 kB / 403.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.3678, allocations: 309.6 kB / 404.1 MB, free: 13.97 MB / 318.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.001334/0.3692, allocations: 0.8333 MB / 404.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.3699, allocations: 261.1 kB / 405.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3702, allocations: 133.6 kB / 405.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.3846, allocations: 12.9 MB / 418.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.3847, allocations: 46.48 kB / 418.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/0.3847, allocations: 0 / 418.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002595/0.3873, allocations: 0.6881 MB / 419 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3874, allocations: 85.05 kB / 419 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3875, allocations: 125.8 kB / 419.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3876, allocations: 29.7 kB / 419.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.3876, allocations: 108.8 kB / 419.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.3877, allocations: 130.2 kB / 419.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.3878, allocations: 12 kB / 419.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3879, allocations: 322.8 kB / 419.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3882, allocations: 131.9 kB / 419.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.3887, allocations: 207.6 kB / 420.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.3891, allocations: 155.9 kB / 420.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3891, allocations: 4 kB / 420.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001055/0.3902, allocations: 412.4 kB / 420.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3902, allocations: 4 kB / 420.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3902, allocations: 7.938 kB / 420.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3902, allocations: 4 kB / 420.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.3907, allocations: 87.88 kB / 420.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3907, allocations: 20.12 kB / 420.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.391, allocations: 35.78 kB / 420.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.3911, allocations: 19.98 kB / 420.8 MB, free: 10.64 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.0001342/0.3912, allocations: 137.7 kB / 421 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.3913, allocations: 19.81 kB / 421 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.3918, allocations: 186.3 kB / 421.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3918, allocations: 7.984 kB / 421.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3918, allocations: 0 / 421.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3918, allocations: 3.984 kB / 421.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3934, allocations: 0.7708 MB / 421.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3934, allocations: 0 / 421.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.3938, allocations: 75.88 kB / 422 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3938, allocations: 4 kB / 422 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3939, allocations: 12 kB / 422 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3939, allocations: 12.16 kB / 422 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3939, allocations: 7.984 kB / 422 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3953, allocations: 0.6916 MB / 422.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3954, allocations: 136.9 kB / 422.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.3955, allocations: 8 kB / 422.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.3958, allocations: 15.98 kB / 422.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3958, allocations: 23.97 kB / 422.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3959, allocations: 15.98 kB / 422.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.3959, allocations: 99.27 kB / 423 MB, free: 8.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.3959, allocations: 0 / 423 MB, free: 8.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003508/0.3995, allocations: 0.9486 MB / 424 MB, free: 7.34 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.006667/0.4061, allocations: 2.319 MB / 426.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.4072, allocations: 351.1 kB / 426.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4072, allocations: 0 / 426.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.4077, allocations: 175.7 kB / 426.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.4084, allocations: 98.41 kB / 426.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.4138, allocations: 1.87 MB / 428.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.4143, allocations: 0.7336 MB / 429.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000501/0.4148, allocations: 86.03 kB / 429.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.415, allocations: 67.41 kB / 429.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of SimCode: time 2.144e-06/0.415, allocations: 0 / 429.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/0.471, allocations: 32.52 MB / 462.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.4713, allocations: 220.7 kB / 462.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/3.491, allocations: 3.938 kB / 462.4 MB, free: 0.8594 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