Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_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.0009058/0.000906, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 178 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.409/0.409, allocations: 43.55 MB / 314.6 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006244/0.0006245, allocations: 12 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4518/0.5848, allocations: 179.3 MB / 0.6076 GB, free: 8.121 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.5985, allocations: 9.661 MB / 0.617 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5997, allocations: 23.81 kB / 0.617 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.6009, allocations: 322 kB / 0.6174 GB, free: 14.1 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005992/0.607, allocations: 2.076 MB / 0.6194 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00596/0.6129, allocations: 1.962 MB / 0.6213 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.6164, allocations: 2.644 MB / 0.6239 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008737/0.6173, allocations: 0.4946 MB / 0.6244 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/0.6222, allocations: 1.684 MB / 0.626 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.6236, allocations: 0.8606 MB / 0.6268 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.6237, allocations: 44 kB / 0.6269 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3682/0.992, allocations: 4.706 MB / 0.6315 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.993, allocations: 383.6 kB / 0.6319 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005104/0.9935, allocations: 211.4 kB / 0.6321 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/1, allocations: 2.662 MB / 0.6347 GB, free: 8.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/1, allocations: 5.875 kB / 0.6347 GB, free: 8.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.955e-06/1, allocations: 0 / 0.6347 GB, free: 8.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/1, allocations: 0 / 0.6347 GB, free: 8.996 MB / 494.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.004953/1.005, allocations: 1.615 MB / 0.6362 GB, free: 8.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.005, allocations: 13.58 kB / 0.6363 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/1.006, allocations: 126.4 kB / 0.6364 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/1.006, allocations: 111.6 kB / 0.6365 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/1.007, allocations: 0.5698 MB / 0.637 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/1.007, allocations: 125.6 kB / 0.6372 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.007, allocations: 74.88 kB / 0.6372 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.009, allocations: 1.161 MB / 0.6384 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/1.009, allocations: 1.859 kB / 0.6384 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/1.009, allocations: 35.25 kB / 0.6384 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-05/1.009, allocations: 63.3 kB / 0.6385 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/1.011, allocations: 1.167 MB / 0.6396 GB, free: 7.613 MB / 494.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.006811/1.018, allocations: 4.988 MB / 0.6445 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.019, allocations: 0.8358 MB / 0.6453 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/1.02, allocations: 421.5 kB / 0.6457 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/1.022, allocations: 1.889 MB / 0.6475 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.022, allocations: 50.47 kB / 0.6476 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/1.022, allocations: 0 / 0.6476 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01212/1.034, allocations: 4.147 MB / 0.6516 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/1.034, allocations: 116.2 kB / 0.6517 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/1.035, allocations: 0.6576 MB / 0.6524 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.035, allocations: 46.61 kB / 0.6524 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/1.035, allocations: 381.4 kB / 0.6528 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.035, allocations: 291 kB / 0.6531 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/1.036, allocations: 24.72 kB / 0.6531 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.036, allocations: 388 kB / 0.6535 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/1.037, allocations: 498.3 kB / 0.6539 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/1.038, allocations: 0.7584 MB / 0.6547 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/1.04, allocations: 0.5881 MB / 0.6552 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.04, allocations: 2.531 kB / 0.6553 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004071/1.044, allocations: 1.695 MB / 0.6569 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.044, allocations: 8.812 kB / 0.6569 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.044, allocations: 10.67 kB / 0.6569 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00729/1.051, allocations: 1.398 MB / 0.6583 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/1.052, allocations: 158.5 kB / 0.6584 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/1.055, allocations: 1.547 MB / 0.66 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.056, allocations: 93 kB / 0.66 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.056, allocations: 62.92 kB / 0.6601 GB, free: 16.34 MB / 0.4981 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 (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.0008307/1.057, allocations: 301.1 kB / 0.6604 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.057, allocations: 82.03 kB / 0.6605 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/1.061, allocations: 1.66 MB / 0.6621 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/1.061, allocations: 13.25 kB / 0.6621 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.061, allocations: 0 / 0.6621 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.062, allocations: 6.672 kB / 0.6621 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/1.067, allocations: 2.56 MB / 0.6646 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.067, allocations: 1.75 kB / 0.6646 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.068, allocations: 267.8 kB / 0.6649 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.07, allocations: 391 kB / 0.6652 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/1.07, allocations: 32.77 kB / 0.6653 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/1.073, allocations: 2.279 MB / 0.6675 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.073, allocations: 4.594 kB / 0.6675 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/1.077, allocations: 2.024 MB / 0.6695 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/1.078, allocations: 303.1 kB / 0.6698 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.078, allocations: 23.98 kB / 0.6698 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/1.079, allocations: 79.56 kB / 0.6699 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.079, allocations: 66.31 kB / 0.6699 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.079, allocations: 52.14 kB / 0.67 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008362/1.08, allocations: 482.8 kB / 0.6704 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0 / 0.6704 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002954/1.083, allocations: 0.6986 MB / 0.6711 GB, free: 13.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.006383/1.09, allocations: 3.353 MB / 0.6744 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002582/1.092, allocations: 1.25 MB / 0.6756 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.092, allocations: 3.953 kB / 0.6756 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.094, allocations: 0.719 MB / 0.6763 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.096, allocations: 483.3 kB / 0.6768 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.109, allocations: 6.754 MB / 0.6834 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/1.11, allocations: 1.052 MB / 0.6844 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001413/1.111, allocations: 306.1 kB / 0.6847 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/1.112, allocations: 341.4 kB / 0.685 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/1.112, allocations: 0 / 0.685 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08773/1.199, allocations: 42.41 MB / 0.7264 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.2, allocations: 269.2 kB / 0.7267 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/4.135, allocations: 0 / 0.7267 GB, free: 5.301 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat