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.08464/0.08464, allocations: 15.28 MB / 30.78 MB, free: 4.082 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.001064/0.001064, allocations: 106.1 kB / 35.77 MB, free: 3.281 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.001189/0.001189, allocations: 193.1 kB / 40.88 MB, free: 7.195 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.278/1.278, allocations: 222.9 MB / 268.7 MB, free: 6.828 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1148/0.1148, allocations: 23.34 MB / 346.4 MB, free: 0.707 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 115.8 kB / 418.3 MB, free: 30.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08418, allocations: 59.36 MB / 477.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.2253/0.3095, allocations: 59.22 MB / 0.5243 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.3309, allocations: 28.06 MB / 0.5517 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.3317, allocations: 16.94 kB / 0.5517 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.3327, allocations: 439.6 kB / 0.5521 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.3385, allocations: 2.679 MB / 0.5548 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008215/0.3467, allocations: 3.607 MB / 0.5583 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.3486, allocations: 1.894 MB / 0.5601 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/0.3495, allocations: 1.026 MB / 0.5611 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.3539, allocations: 3.011 MB / 0.5641 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/0.3572, allocations: 1.406 MB / 0.5655 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.3575, allocations: 137.7 kB / 0.5656 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00985/0.3673, allocations: 4.12 MB / 0.5696 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.3677, allocations: 0.5565 MB / 0.5701 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008236/0.3686, allocations: 0.7743 MB / 0.5709 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3794, allocations: 5.58 MB / 0.5764 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3794, allocations: 7.984 kB / 0.5764 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3794, allocations: 4 kB / 0.5764 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.3795, allocations: 0 / 0.5764 GB, free: 11.15 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.004018/0.3835, allocations: 2.131 MB / 0.5784 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3836, allocations: 19.91 kB / 0.5785 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.3838, allocations: 164.9 kB / 0.5786 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3852, allocations: 347.1 kB / 0.579 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3863, allocations: 0.763 MB / 0.5797 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.3863, allocations: 78 kB / 0.5798 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.3865, allocations: 104 kB / 0.5799 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3891, allocations: 1.838 MB / 0.5817 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3891, allocations: 4 kB / 0.5817 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3892, allocations: 40 kB / 0.5817 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.3893, allocations: 49.98 kB / 0.5818 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.3923, allocations: 2.245 MB / 0.584 GB, free: 3.199 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.007768/0.4001, allocations: 6.397 MB / 0.5902 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.4023, allocations: 1.289 MB / 0.5915 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008743/0.4032, allocations: 0.7027 MB / 0.5921 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004398/0.4076, allocations: 3.542 MB / 0.5956 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4077, allocations: 43.55 kB / 0.5956 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004182/0.4081, allocations: 122.9 kB / 0.5958 GB, free: 6.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.531e-06/0.4081, allocations: 0 / 0.5958 GB, free: 6.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.004666/0.4128, allocations: 2.56 MB / 0.5983 GB, free: 4.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.4128, allocations: 64.41 kB / 0.5983 GB, free: 3.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.4136, allocations: 0.7505 MB / 0.5991 GB, free: 3.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.4137, allocations: 41.7 kB / 0.5991 GB, free: 3.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.414, allocations: 0.4989 MB / 0.5996 GB, free: 2.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.4142, allocations: 342.9 kB / 0.5999 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.4146, allocations: 258.7 kB / 0.6002 GB, free: 2.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4147, allocations: 402.7 kB / 0.6005 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/0.4156, allocations: 0.635 MB / 0.6012 GB, free: 1.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4167, allocations: 0.942 MB / 0.6021 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.4187, allocations: 1.666 MB / 0.6037 GB, free: 14.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4188, allocations: 4 kB / 0.6037 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00271/0.4215, allocations: 1.872 MB / 0.6055 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4215, allocations: 8 kB / 0.6055 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4215, allocations: 8 kB / 0.6056 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.4222, allocations: 186.1 kB / 0.6057 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.4231, allocations: 291.5 kB / 0.606 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009366/0.4241, allocations: 1.241 MB / 0.6072 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.4247, allocations: 35.98 kB / 0.6073 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.4249, allocations: 87.95 kB / 0.6073 GB, free: 10.38 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.0004184/0.4253, allocations: 325.4 kB / 0.6076 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.4255, allocations: 94.78 kB / 0.6077 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4295, allocations: 2.424 MB / 0.6101 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002358/0.4319, allocations: 1.499 MB / 0.6116 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4319, allocations: 0 / 0.6116 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4319, allocations: 3.984 kB / 0.6116 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.4365, allocations: 3.12 MB / 0.6146 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4366, allocations: 3.938 kB / 0.6146 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.4373, allocations: 183.8 kB / 0.6148 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.4379, allocations: 181.6 kB / 0.615 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.438, allocations: 35.97 kB / 0.615 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007952/0.4388, allocations: 1.214 MB / 0.6162 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4388, allocations: 0 / 0.6162 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.4427, allocations: 2.628 MB / 0.6188 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.4431, allocations: 299.7 kB / 0.619 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4433, allocations: 27.94 kB / 0.6191 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.4438, allocations: 27.92 kB / 0.6191 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.444, allocations: 68.91 kB / 0.6192 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.4441, allocations: 47.98 kB / 0.6192 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006887/0.4447, allocations: 0.6161 MB / 0.6198 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.4448, allocations: 4 kB / 0.6198 GB, free: 13.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002609/0.4474, allocations: 1.252 MB / 0.621 GB, free: 12.11 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 (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.007457/0.4548, allocations: 4.992 MB / 0.6259 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.4582, allocations: 1.971 MB / 0.6278 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4582, allocations: 1.438 kB / 0.6278 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4592, allocations: 0.8195 MB / 0.6286 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.4612, allocations: 497.8 kB / 0.6291 GB, free: 3.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4762, allocations: 12.05 MB / 0.6409 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.4769, allocations: 1.133 MB / 0.642 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.4783, allocations: 410.5 kB / 0.6424 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.4791, allocations: 0.5569 MB / 0.6429 GB, free: 5.199 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4791, allocations: 0 / 0.6429 GB, free: 5.199 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08397/0.5631, allocations: 56.86 MB / 0.6984 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.1, allocations: 3.938 kB / 0.6985 GB, free: 12.61 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)