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.1313/0.1313, allocations: 15.27 MB / 30.54 MB, free: 5.719 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.000889/0.0008891, allocations: 114 kB / 35.57 MB, free: 1.133 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.00112/0.00112, allocations: 176.5 kB / 40.68 MB, free: 4.746 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.558/1.558, allocations: 223.3 MB / 268.9 MB, free: 2.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1952/0.1952, allocations: 23.39 MB / 347.6 MB, free: 6.77 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005756/0.0005757, allocations: 20 kB / 420.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3374, allocations: 60.47 MB / 480.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.05899/0.3965, allocations: 59 MB / 0.5272 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0334/0.4299, allocations: 27.73 MB / 0.5542 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.4315, allocations: 31.75 kB / 0.5543 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.433, allocations: 381.8 kB / 0.5546 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.4415, allocations: 2.482 MB / 0.5571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.4542, allocations: 3.237 MB / 0.5602 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.4585, allocations: 2.608 MB / 0.5628 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.46, allocations: 0.889 MB / 0.5636 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.4671, allocations: 2.925 MB / 0.5665 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008398/0.4755, allocations: 1.406 MB / 0.5679 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005104/0.476, allocations: 76 kB / 0.5679 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.4923, allocations: 4.491 MB / 0.5723 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.4936, allocations: 0.5025 MB / 0.5728 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.4948, allocations: 0.7173 MB / 0.5735 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01888/0.5137, allocations: 5.392 MB / 0.5788 GB, free: 4.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5138, allocations: 0 / 0.5788 GB, free: 4.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5138, allocations: 0 / 0.5788 GB, free: 4.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.5138, allocations: 0 / 0.5788 GB, free: 4.176 MB / 430.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.004987/0.5188, allocations: 1.878 MB / 0.5806 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5189, allocations: 8.031 kB / 0.5806 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.5191, allocations: 164.9 kB / 0.5808 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.5206, allocations: 345.9 kB / 0.5811 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5221, allocations: 0.7437 MB / 0.5818 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.5222, allocations: 74 kB / 0.5819 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.5224, allocations: 104 kB / 0.582 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3437/0.8661, allocations: 1.836 MB / 0.5838 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.8662, allocations: 3.844 kB / 0.5838 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.8663, allocations: 41.91 kB / 0.5838 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.8664, allocations: 52.61 kB / 0.5839 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.8702, allocations: 2.251 MB / 0.5861 GB, free: 25.41 MB / 430.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.008431/0.8787, allocations: 6.333 MB / 0.5923 GB, free: 23.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.881, allocations: 1.287 MB / 0.5935 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009989/0.882, allocations: 0.7004 MB / 0.5942 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005209/0.8872, allocations: 3.523 MB / 0.5977 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.8872, allocations: 41.09 kB / 0.5977 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006977/0.888, allocations: 165 kB / 0.5979 GB, free: 21.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 5.911e-06/0.888, allocations: 0 / 0.5979 GB, free: 21.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.005466/0.8934, allocations: 2.577 MB / 0.6004 GB, free: 21.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.8935, allocations: 61.78 kB / 0.6004 GB, free: 21.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.8947, allocations: 0.7587 MB / 0.6012 GB, free: 21.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/0.8949, allocations: 42.39 kB / 0.6012 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.8952, allocations: 0.4945 MB / 0.6017 GB, free: 21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.8955, allocations: 348.3 kB / 0.602 GB, free: 20.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8957, allocations: 97.62 kB / 0.6021 GB, free: 20.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8959, allocations: 400.1 kB / 0.6025 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009586/0.8968, allocations: 0.6363 MB / 0.6031 GB, free: 20.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.8979, allocations: 0.9367 MB / 0.604 GB, free: 20.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.8999, allocations: 1.652 MB / 0.6057 GB, free: 19.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.8999, allocations: 3.312 kB / 0.6057 GB, free: 19.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003691/0.9036, allocations: 1.868 MB / 0.6075 GB, free: 19.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.9037, allocations: 12.09 kB / 0.6075 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.9038, allocations: 9.156 kB / 0.6075 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.9048, allocations: 194.5 kB / 0.6077 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.906, allocations: 282.2 kB / 0.608 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.9072, allocations: 1.253 MB / 0.6092 GB, free: 18.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9087, allocations: 80.73 kB / 0.6093 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.909, allocations: 81.7 kB / 0.6093 GB, free: 18.54 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.0007548/0.9097, allocations: 329.2 kB / 0.6096 GB, free: 18.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.91, allocations: 93.06 kB / 0.6097 GB, free: 18.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/0.9144, allocations: 2.427 MB / 0.6121 GB, free: 18.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002447/0.9169, allocations: 1.504 MB / 0.6136 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.9169, allocations: 0 / 0.6136 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.9169, allocations: 3.797 kB / 0.6136 GB, free: 18.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.9218, allocations: 2.957 MB / 0.6165 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.9219, allocations: 2.062 kB / 0.6165 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.9226, allocations: 184.4 kB / 0.6166 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006966/0.9233, allocations: 192.9 kB / 0.6168 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.9234, allocations: 47.66 kB / 0.6169 GB, free: 17.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007274/0.9241, allocations: 1.201 MB / 0.618 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9242, allocations: 4.156 kB / 0.618 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.9283, allocations: 2.633 MB / 0.6206 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007826/0.9291, allocations: 322.2 kB / 0.6209 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.9293, allocations: 20.5 kB / 0.6209 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.93, allocations: 56.38 kB / 0.621 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.9302, allocations: 70.28 kB / 0.6211 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9303, allocations: 52.53 kB / 0.6211 GB, free: 16.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009089/0.9312, allocations: 0.6131 MB / 0.6217 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.9312, allocations: 0 / 0.6217 GB, free: 15.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004336/0.9355, allocations: 1.232 MB / 0.6229 GB, free: 15.77 MB / 430.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.008425/0.944, allocations: 4.991 MB / 0.6278 GB, free: 13.5 MB / 430.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.003028/0.9471, allocations: 1.692 MB / 0.6294 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.9471, allocations: 0 / 0.6294 GB, free: 12.02 MB / 430.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.001145/0.9482, allocations: 0.8495 MB / 0.6303 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.9508, allocations: 468 kB / 0.6307 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.9671, allocations: 12.57 MB / 0.643 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.968, allocations: 1.125 MB / 0.6441 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.9698, allocations: 405.7 kB / 0.6445 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000914/0.9707, allocations: 0.5559 MB / 0.645 GB, free: 11.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.9707, allocations: 4 kB / 0.645 GB, free: 11.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.073, allocations: 55.54 MB / 0.6993 GB, free: 4.766 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.073, allocations: 231 kB / 0.6995 GB, free: 4.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.707/4.78, allocations: 0 / 0.6995 GB, free: 4.504 MB / 494.1 MB (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)