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.1664/0.1664, allocations: 15.29 MB / 30.41 MB, free: 4.371 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.001391/0.001391, allocations: 100 kB / 35.37 MB, free: 3.449 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.001832/0.001832, allocations: 197.1 kB / 40.46 MB, free: 7.543 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.705/1.705, allocations: 222.9 MB / 268.3 MB, free: 7.227 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1859/0.1859, allocations: 23.34 MB / 346 MB, free: 0.5117 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 111.8 kB / 417.6 MB, free: 30.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1548, allocations: 59.37 MB / 476.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.425/0.5799, allocations: 59.92 MB / 0.5243 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03571/0.6156, allocations: 28.06 MB / 0.5517 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.6177, allocations: 33.44 kB / 0.5517 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.6194, allocations: 382 kB / 0.5521 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.6307, allocations: 2.484 MB / 0.5545 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.6463, allocations: 3.239 MB / 0.5577 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.6502, allocations: 2.606 MB / 0.5602 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.6517, allocations: 0.9176 MB / 0.5611 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/0.6579, allocations: 2.95 MB / 0.564 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006964/0.6648, allocations: 1.447 MB / 0.5654 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.6653, allocations: 88.28 kB / 0.5655 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/0.686, allocations: 4.498 MB / 0.5699 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.6873, allocations: 0.5103 MB / 0.5704 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.6888, allocations: 0.7157 MB / 0.5711 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02612/0.7149, allocations: 5.428 MB / 0.5764 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.715, allocations: 0 / 0.5764 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.715, allocations: 0 / 0.5764 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.715, allocations: 0 / 0.5764 GB, free: 11.87 MB / 398.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.005952/0.721, allocations: 2.144 MB / 0.5785 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.737e-05/0.7211, allocations: 16.53 kB / 0.5785 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/0.7214, allocations: 160.9 kB / 0.5786 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.723, allocations: 351.1 kB / 0.579 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.7246, allocations: 0.7592 MB / 0.5797 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.7247, allocations: 81.98 kB / 0.5798 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.7249, allocations: 107.9 kB / 0.5799 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.7281, allocations: 1.83 MB / 0.5817 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.7281, allocations: 0 / 0.5817 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.7283, allocations: 44 kB / 0.5817 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.7284, allocations: 49.98 kB / 0.5818 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.7323, allocations: 2.252 MB / 0.584 GB, free: 3.91 MB / 398.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.01014/0.7425, allocations: 6.374 MB / 0.5902 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.745, allocations: 1.284 MB / 0.5914 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.7461, allocations: 0.7027 MB / 0.5921 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005719/0.7518, allocations: 3.546 MB / 0.5956 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7519, allocations: 47.5 kB / 0.5956 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006344/0.7525, allocations: 166.8 kB / 0.5958 GB, free: 7.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 8.116e-06/0.7526, allocations: 0 / 0.5958 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005496/0.7581, allocations: 2.533 MB / 0.5983 GB, free: 4.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.7581, allocations: 60.41 kB / 0.5983 GB, free: 4.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.7593, allocations: 0.766 MB / 0.5991 GB, free: 3.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/0.7593, allocations: 41.7 kB / 0.5991 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.7598, allocations: 0.495 MB / 0.5996 GB, free: 3.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.7601, allocations: 346.9 kB / 0.5999 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.7605, allocations: 250.7 kB / 0.6002 GB, free: 2.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7607, allocations: 402.7 kB / 0.6006 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.7617, allocations: 0.6311 MB / 0.6012 GB, free: 1.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.7631, allocations: 0.9266 MB / 0.6021 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.7656, allocations: 1.662 MB / 0.6037 GB, free: 14.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7656, allocations: 4 kB / 0.6037 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003196/0.7688, allocations: 1.865 MB / 0.6055 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.7688, allocations: 11.28 kB / 0.6055 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7689, allocations: 8 kB / 0.6055 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/0.7697, allocations: 193.6 kB / 0.6057 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.7707, allocations: 279.6 kB / 0.606 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.772, allocations: 1.241 MB / 0.6072 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.773, allocations: 79.95 kB / 0.6073 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.7731, allocations: 75.97 kB / 0.6074 GB, free: 11.09 MB / 430.1 MB 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.0007972/0.7739, allocations: 333.4 kB / 0.6077 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.7742, allocations: 86.88 kB / 0.6078 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.7787, allocations: 2.408 MB / 0.6101 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002786/0.7815, allocations: 1.484 MB / 0.6116 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.7816, allocations: 3.984 kB / 0.6116 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.7816, allocations: 3.984 kB / 0.6116 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.7871, allocations: 2.969 MB / 0.6145 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7871, allocations: 0 / 0.6145 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.7879, allocations: 187.7 kB / 0.6146 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/0.7886, allocations: 181.6 kB / 0.6148 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.7887, allocations: 35.98 kB / 0.6148 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009506/0.7896, allocations: 1.21 MB / 0.616 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7897, allocations: 0 / 0.616 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/0.794, allocations: 2.609 MB / 0.6186 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.7947, allocations: 295.8 kB / 0.6189 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.795, allocations: 19.94 kB / 0.6189 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.7957, allocations: 59.86 kB / 0.6189 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.7959, allocations: 72.84 kB / 0.619 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.796, allocations: 51.97 kB / 0.6191 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.7969, allocations: 0.6122 MB / 0.6197 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7969, allocations: 0 / 0.6197 GB, free: 14.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004061/0.8009, allocations: 1.236 MB / 0.6209 GB, free: 13.04 MB / 446.1 MB 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 (95): * Single equations (assignments): 91 * 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.00961/0.8106, allocations: 4.966 MB / 0.6257 GB, free: 8.047 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState54.X Notification: Performance of simCode: created initialization part: time 0.003157/0.8137, allocations: 1.678 MB / 0.6273 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8138, allocations: 1.438 kB / 0.6273 GB, free: 6.363 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState204.X Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8151, allocations: 0.8542 MB / 0.6282 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.818, allocations: 450 kB / 0.6286 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.8405, allocations: 12.43 MB / 0.6407 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8415, allocations: 1.133 MB / 0.6419 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001915/0.8435, allocations: 407.3 kB / 0.6422 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.8446, allocations: 0.5531 MB / 0.6428 GB, free: 6.086 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8446, allocations: 0 / 0.6428 GB, free: 6.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/0.9611, allocations: 56.04 MB / 0.6975 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.9614, allocations: 227.7 kB / 0.6977 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/5.189, allocations: 4 kB / 0.6977 GB, free: 14.09 MB / 0.5137 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)