Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.001109/0.001109, allocations: 95.61 kB / 16.98 MB, free: 5.938 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.001411/0.001412, allocations: 185.8 kB / 17.87 MB, free: 5.594 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.298/1.298, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 13.2 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.43/0.5398, allocations: 155.7 MB / 0.6125 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.5507, allocations: 7.268 MB / 0.6196 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.5518, allocations: 19.81 kB / 0.6196 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.5529, allocations: 350.3 kB / 0.62 GB, free: 14.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.5583, allocations: 1.765 MB / 0.6217 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.5633, allocations: 1.574 MB / 0.6232 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.566, allocations: 1.22 MB / 0.6244 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.5669, allocations: 0.5007 MB / 0.6249 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.5702, allocations: 1.383 MB / 0.6263 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.5713, allocations: 0.6037 MB / 0.6269 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.5714, allocations: 47.94 kB / 0.6269 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008919/0.5803, allocations: 4.318 MB / 0.6311 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008493/0.5812, allocations: 351.1 kB / 0.6315 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.5818, allocations: 209.3 kB / 0.6317 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.5877, allocations: 2.331 MB / 0.6339 GB, free: 48 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5878, allocations: 0 / 0.6339 GB, free: 48 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5878, allocations: 0 / 0.6339 GB, free: 48 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.5878, allocations: 0 / 0.6339 GB, free: 48 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004131/0.5919, allocations: 1.505 MB / 0.6354 GB, free: 14.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.592, allocations: 12.55 kB / 0.6354 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.5922, allocations: 122.5 kB / 0.6355 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.5926, allocations: 110.9 kB / 0.6356 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.5938, allocations: 0.5745 MB / 0.6362 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.5939, allocations: 121.3 kB / 0.6363 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5941, allocations: 71.89 kB / 0.6364 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.5959, allocations: 1.158 MB / 0.6375 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.5959, allocations: 7.891 kB / 0.6375 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.596, allocations: 32 kB / 0.6376 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.231e-05/0.5961, allocations: 53.97 kB / 0.6376 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.598, allocations: 1.155 MB / 0.6387 GB, free: 10.97 MB / 478.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.006945/0.6049, allocations: 5.008 MB / 0.6436 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.6066, allocations: 0.834 MB / 0.6444 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.6079, allocations: 1.619 MB / 0.646 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.6079, allocations: 47.12 kB / 0.6461 GB, free: 2.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/0.608, allocations: 0 / 0.6461 GB, free: 2.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01338/0.6213, allocations: 4.129 MB / 0.6501 GB, free: 14.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.6214, allocations: 115.5 kB / 0.6502 GB, free: 14.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.6223, allocations: 0.6562 MB / 0.6509 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/0.6224, allocations: 41.7 kB / 0.6509 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.6227, allocations: 383.6 kB / 0.6513 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.6229, allocations: 291.8 kB / 0.6515 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.623, allocations: 24 kB / 0.6516 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6232, allocations: 394.7 kB / 0.6519 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.6241, allocations: 493.7 kB / 0.6524 GB, free: 12.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.6253, allocations: 0.7562 MB / 0.6531 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6264, allocations: 0.5846 MB / 0.6537 GB, free: 10.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.6264, allocations: 4 kB / 0.6537 GB, free: 10.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003333/0.6297, allocations: 1.684 MB / 0.6554 GB, free: 8.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.6298, allocations: 8 kB / 0.6554 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.6298, allocations: 11.94 kB / 0.6554 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/0.6374, allocations: 1.378 MB / 0.6567 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.6382, allocations: 155.7 kB / 0.6569 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.6409, allocations: 1.541 MB / 0.6584 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6421, allocations: 79.98 kB / 0.6585 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6422, allocations: 59.97 kB / 0.6585 GB, free: 5.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.6428, allocations: 297.5 kB / 0.6588 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.643, allocations: 86.97 kB / 0.6589 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.6466, allocations: 1.693 MB / 0.6605 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6467, allocations: 11.98 kB / 0.6605 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6467, allocations: 0 / 0.6605 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6467, allocations: 3.984 kB / 0.6605 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.6513, allocations: 2.648 MB / 0.6631 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6513, allocations: 4 kB / 0.6631 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.6526, allocations: 260.7 kB / 0.6634 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.6546, allocations: 396.4 kB / 0.6638 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.6547, allocations: 35.98 kB / 0.6638 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.6575, allocations: 2.277 MB / 0.666 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6575, allocations: 0 / 0.666 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/0.6614, allocations: 2.116 MB / 0.6681 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.6622, allocations: 307.8 kB / 0.6684 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.6623, allocations: 31.98 kB / 0.6684 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000852/0.6632, allocations: 71.94 kB / 0.6685 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.6634, allocations: 64.86 kB / 0.6685 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6635, allocations: 43.97 kB / 0.6686 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006864/0.6642, allocations: 483 kB / 0.669 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.194e-06/0.6642, allocations: 0 / 0.669 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002236/0.6664, allocations: 0.6636 MB / 0.6697 GB, free: 9.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006732/0.6732, allocations: 3.767 MB / 0.6734 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.6761, allocations: 1.257 MB / 0.6746 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.6761, allocations: 0 / 0.6746 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.6779, allocations: 0.7204 MB / 0.6753 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.6803, allocations: 451.5 kB / 0.6757 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.6961, allocations: 11.9 MB / 0.6874 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.6969, allocations: 1.058 MB / 0.6884 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001283/0.6982, allocations: 350.7 kB / 0.6887 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.6987, allocations: 327.3 kB / 0.689 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/0.6987, allocations: 0 / 0.689 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3557/1.054, allocations: 40.63 MB / 0.7287 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/1.055, allocations: 270.6 kB / 0.729 GB, free: 196.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.159, allocations: 6.953 kB / 0.729 GB, free: 196.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat