Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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 trunk/package.mo): time 0.001515/0.001515, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 83.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3443, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6023/0.9466, allocations: 194 MB / 0.7201 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009759/0.9564, allocations: 7.449 MB / 0.7274 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.9572, allocations: 22.22 kB / 0.7274 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.9584, allocations: 433.5 kB / 0.7278 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.9644, allocations: 2.35 MB / 0.7301 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.9701, allocations: 2.312 MB / 0.7323 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.9731, allocations: 2.198 MB / 0.7345 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/0.974, allocations: 0.5994 MB / 0.7351 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.9782, allocations: 1.834 MB / 0.7369 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.9795, allocations: 0.8614 MB / 0.7377 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.9796, allocations: 93.34 kB / 0.7378 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009654/0.9893, allocations: 5.238 MB / 0.7429 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.99, allocations: 431.1 kB / 0.7433 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009243/0.991, allocations: 0.5389 MB / 0.7439 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009912/1.001, allocations: 3.842 MB / 0.7476 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.001, allocations: 0 / 0.7476 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.545e-06/1.001, allocations: 0.9375 kB / 0.7476 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.376e-05/1.001, allocations: 2.406 kB / 0.7476 GB, free: 1.328 MB / 0.5606 GB 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.004273/1.005, allocations: 1.778 MB / 0.7493 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.005, allocations: 10.88 kB / 0.7494 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/1.005, allocations: 126.4 kB / 0.7495 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004111/1.006, allocations: 113.9 kB / 0.7496 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009225/1.007, allocations: 0.6212 MB / 0.7502 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.007, allocations: 125.1 kB / 0.7503 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.007, allocations: 72.53 kB / 0.7504 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.009, allocations: 1.157 MB / 0.7515 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/1.009, allocations: 0.9688 kB / 0.7515 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/1.009, allocations: 37.2 kB / 0.7515 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/1.009, allocations: 65.08 kB / 0.7516 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/1.01, allocations: 1.16 MB / 0.7527 GB, free: 15.75 MB / 0.5762 GB 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.00648/1.017, allocations: 4.971 MB / 0.7576 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.019, allocations: 0.8268 MB / 0.7584 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/1.019, allocations: 427.2 kB / 0.7588 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/1.021, allocations: 1.628 MB / 0.7604 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.021, allocations: 50.19 kB / 0.7604 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/1.021, allocations: 0.75 kB / 0.7604 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01272/1.034, allocations: 4.018 MB / 0.7644 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/1.034, allocations: 112.3 kB / 0.7645 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/1.035, allocations: 0.662 MB / 0.7651 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.035, allocations: 42.61 kB / 0.7652 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/1.035, allocations: 390.4 kB / 0.7655 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.035, allocations: 305.1 kB / 0.7658 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.036, allocations: 200.5 kB / 0.766 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.036, allocations: 389.4 kB / 0.7664 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/1.037, allocations: 493.8 kB / 0.7669 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.038, allocations: 0.7548 MB / 0.7676 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/1.04, allocations: 1.288 MB / 0.7689 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.04, allocations: 3.188 kB / 0.7689 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003312/1.043, allocations: 1.679 MB / 0.7705 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.043, allocations: 8.5 kB / 0.7705 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.043, allocations: 9.609 kB / 0.7705 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/1.05, allocations: 1.31 MB / 0.7718 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/1.051, allocations: 158.3 kB / 0.7719 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/1.053, allocations: 1.533 MB / 0.7734 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/1.054, allocations: 56.77 kB / 0.7735 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.055, allocations: 55.28 kB / 0.7735 GB, free: 8.461 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005563/1.055, allocations: 294.6 kB / 0.7738 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/1.055, allocations: 88.17 kB / 0.7739 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/1.059, allocations: 1.675 MB / 0.7755 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.059, allocations: 13.06 kB / 0.7756 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.059, allocations: 1.094 kB / 0.7756 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.059, allocations: 5.672 kB / 0.7756 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/1.063, allocations: 2.64 MB / 0.7781 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.063, allocations: 2.812 kB / 0.7781 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.064, allocations: 263.4 kB / 0.7784 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/1.066, allocations: 374.1 kB / 0.7788 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/1.066, allocations: 30.45 kB / 0.7788 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/1.069, allocations: 2.352 MB / 0.7811 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.069, allocations: 2.719 kB / 0.7811 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/1.073, allocations: 2.036 MB / 0.7831 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/1.073, allocations: 295.4 kB / 0.7834 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/1.073, allocations: 22.94 kB / 0.7834 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/1.074, allocations: 49.67 kB / 0.7834 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.074, allocations: 73.72 kB / 0.7835 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.074, allocations: 48.41 kB / 0.7835 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007709/1.075, allocations: 0.4976 MB / 0.784 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.075, allocations: 1.094 kB / 0.784 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00263/1.078, allocations: 0.6888 MB / 0.7847 GB, free: 4.148 MB / 0.5762 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006737/1.084, allocations: 3.32 MB / 0.7879 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002974/1.087, allocations: 1.239 MB / 0.7892 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.088, allocations: 4.062 kB / 0.7892 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.089, allocations: 0.7138 MB / 0.7899 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.092, allocations: 0.5212 MB / 0.7904 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.109, allocations: 9.716 MB / 0.7999 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.11, allocations: 1.044 MB / 0.8009 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001168/1.111, allocations: 384.2 kB / 0.8012 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/1.111, allocations: 327.3 kB / 0.8015 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/1.111, allocations: 0 / 0.8015 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0922/1.203, allocations: 43.98 MB / 0.8445 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.18, allocations: 15.11 kB / 0.8445 GB, free: 10.54 MB / 0.6387 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)