Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1549/0.1549, allocations: 15.28 MB / 30.91 MB, free: 4.008 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 110.6 kB / 35.92 MB, free: 3.25 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 193.1 kB / 41.02 MB, free: 7.105 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 268.9 MB, free: 6.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1484/0.1484, allocations: 23.35 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003377/0.003377, allocations: 111.8 kB / 479.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3467, allocations: 59.35 MB / 0.5263 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06928/0.416, allocations: 59.23 MB / 0.5841 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03609/0.4522, allocations: 28.06 MB / 0.6115 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.4534, allocations: 15.94 kB / 0.6115 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.455, allocations: 433.1 kB / 0.6119 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007999/0.463, allocations: 2.692 MB / 0.6146 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.4737, allocations: 3.604 MB / 0.6181 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.477, allocations: 1.906 MB / 0.6199 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4787, allocations: 1.017 MB / 0.6209 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006822/0.4855, allocations: 3.014 MB / 0.6239 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/0.491, allocations: 1.365 MB / 0.6252 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.4914, allocations: 128 kB / 0.6253 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/0.5048, allocations: 4.016 MB / 0.6293 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008458/0.5057, allocations: 0.5377 MB / 0.6298 GB, free: 9.766 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.507, allocations: 0.743 MB / 0.6305 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.522, allocations: 5.539 MB / 0.6359 GB, free: 3.461 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5221, allocations: 7.938 kB / 0.6359 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5221, allocations: 0 / 0.6359 GB, free: 3.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.5221, allocations: 0 / 0.6359 GB, free: 3.453 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004929/0.5271, allocations: 2.161 MB / 0.638 GB, free: 1.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5271, allocations: 8.031 kB / 0.638 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/0.5275, allocations: 168.9 kB / 0.6382 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.5295, allocations: 286.9 kB / 0.6385 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.5317, allocations: 0.7754 MB / 0.6392 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5318, allocations: 81.89 kB / 0.6393 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.5321, allocations: 99.95 kB / 0.6394 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/0.5366, allocations: 1.815 MB / 0.6412 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.5367, allocations: 0 / 0.6412 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.5369, allocations: 43.98 kB / 0.6412 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.5373, allocations: 81.94 kB / 0.6413 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/0.5429, allocations: 2.241 MB / 0.6435 GB, free: 11.51 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.01453/0.5575, allocations: 6.362 MB / 0.6497 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.5614, allocations: 1.292 MB / 0.651 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.5631, allocations: 0.6949 MB / 0.6516 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008216/0.5713, allocations: 3.569 MB / 0.6551 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.5714, allocations: 47.55 kB / 0.6552 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006879/0.5721, allocations: 107.2 kB / 0.6553 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 5.209e-06/0.5721, allocations: 4 kB / 0.6553 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.008154/0.5803, allocations: 2.561 MB / 0.6578 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.5804, allocations: 64.34 kB / 0.6578 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.5821, allocations: 0.7622 MB / 0.6586 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.5822, allocations: 45.7 kB / 0.6586 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.5828, allocations: 0.4965 MB / 0.6591 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/0.5833, allocations: 368.8 kB / 0.6595 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.584, allocations: 254.8 kB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004259/0.5845, allocations: 402.7 kB / 0.6601 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.5862, allocations: 0.635 MB / 0.6607 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5881, allocations: 0.942 MB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.5919, allocations: 1.662 MB / 0.6633 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5919, allocations: 4 kB / 0.6633 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005117/0.5971, allocations: 1.877 MB / 0.6651 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.5971, allocations: 15.97 kB / 0.6651 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.5972, allocations: 12 kB / 0.6651 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.5993, allocations: 297.4 kB / 0.6654 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.6009, allocations: 283.5 kB / 0.6657 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.6024, allocations: 1.241 MB / 0.6669 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.6032, allocations: 39.98 kB / 0.6669 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.6034, allocations: 79.97 kB / 0.667 GB, free: 2.578 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006629/0.6041, allocations: 325.6 kB / 0.6673 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.6044, allocations: 91.39 kB / 0.6674 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.6093, allocations: 2.433 MB / 0.6698 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002914/0.6122, allocations: 1.488 MB / 0.6712 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.6122, allocations: 3.938 kB / 0.6712 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.6123, allocations: 7.984 kB / 0.6712 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/0.6183, allocations: 3.132 MB / 0.6743 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6183, allocations: 32 / 0.6743 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.6191, allocations: 187.8 kB / 0.6745 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.6205, allocations: 293.3 kB / 0.6747 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.449e-05/0.6206, allocations: 35.98 kB / 0.6748 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.6218, allocations: 1.206 MB / 0.676 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.6218, allocations: 3.938 kB / 0.676 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/0.6266, allocations: 2.631 MB / 0.6785 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.6272, allocations: 300.3 kB / 0.6788 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.6275, allocations: 23.89 kB / 0.6788 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.628, allocations: 31.92 kB / 0.6789 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.6282, allocations: 72.91 kB / 0.6789 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6283, allocations: 51.97 kB / 0.679 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009057/0.6292, allocations: 0.6122 MB / 0.6796 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6293, allocations: 0 / 0.6796 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0034/0.6327, allocations: 1.273 MB / 0.6808 GB, free: 4.172 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009235/0.6419, allocations: 5.015 MB / 0.6857 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.6453, allocations: 1.664 MB / 0.6874 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6453, allocations: 0 / 0.6874 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6466, allocations: 0.8273 MB / 0.6882 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.6489, allocations: 473.4 kB / 0.6886 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.6671, allocations: 11.73 MB / 0.7001 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/0.6681, allocations: 1.133 MB / 0.7012 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001397/0.6695, allocations: 408.2 kB / 0.7016 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009167/0.6705, allocations: 0.5567 MB / 0.7021 GB, free: 13.96 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6705, allocations: 7.938 kB / 0.7021 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3347/1.005, allocations: 57.48 MB / 0.7582 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.18, allocations: 5.75 kB / 0.7583 GB, free: 173.3 MB / 0.5606 GB (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1)