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.08644/0.08644, allocations: 15.28 MB / 30.91 MB, free: 4.273 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.001093/0.001093, allocations: 108 kB / 35.92 MB, free: 3.164 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.001309/0.001309, allocations: 195.6 kB / 41.02 MB, free: 7.18 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.38/1.38, allocations: 222.9 MB / 268.9 MB, free: 6.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1324/0.1324, allocations: 23.35 MB / 346.6 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 107.8 kB / 479.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3886, allocations: 59.35 MB / 0.5262 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.06412/0.4528, allocations: 59.23 MB / 0.5841 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.4827, allocations: 28.06 MB / 0.6115 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.4838, allocations: 15.94 kB / 0.6115 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.4851, allocations: 437.1 kB / 0.6119 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007343/0.4925, allocations: 2.69 MB / 0.6145 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009756/0.5023, allocations: 3.6 MB / 0.6181 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.505, allocations: 1.902 MB / 0.6199 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.5063, allocations: 1.025 MB / 0.6209 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.5124, allocations: 3.01 MB / 0.6239 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.5165, allocations: 1.364 MB / 0.6252 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.5169, allocations: 132 kB / 0.6253 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.5286, allocations: 4.016 MB / 0.6292 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007679/0.5294, allocations: 0.5377 MB / 0.6298 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.5307, allocations: 0.7469 MB / 0.6305 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.5454, allocations: 5.514 MB / 0.6359 GB, free: 3.527 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.5455, allocations: 7.938 kB / 0.6359 GB, free: 3.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5455, allocations: 0 / 0.6359 GB, free: 3.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.245e-05/0.5456, allocations: 3.938 kB / 0.6359 GB, free: 3.516 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.005384/0.5509, allocations: 2.1 MB / 0.6379 GB, free: 1.359 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.551, allocations: 12.03 kB / 0.638 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/0.5514, allocations: 160.9 kB / 0.6381 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.5528, allocations: 282.2 kB / 0.6384 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.5543, allocations: 0.7709 MB / 0.6391 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.5544, allocations: 81.98 kB / 0.6392 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.5547, allocations: 96.05 kB / 0.6393 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.5577, allocations: 1.807 MB / 0.6411 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5578, allocations: 3.938 kB / 0.6411 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.5579, allocations: 39.98 kB / 0.6411 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.5582, allocations: 85.94 kB / 0.6412 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.5615, allocations: 2.245 MB / 0.6434 GB, free: 11.66 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.009461/0.571, allocations: 6.356 MB / 0.6496 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.5736, allocations: 1.289 MB / 0.6508 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5747, allocations: 0.6949 MB / 0.6515 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00564/0.5803, allocations: 3.572 MB / 0.655 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.5804, allocations: 43.56 kB / 0.6551 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000568/0.581, allocations: 114.9 kB / 0.6552 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 4.969e-06/0.581, allocations: 0 / 0.6552 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.005478/0.5865, allocations: 2.541 MB / 0.6576 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.5865, allocations: 68.28 kB / 0.6577 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.5876, allocations: 0.7699 MB / 0.6585 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.5877, allocations: 41.7 kB / 0.6585 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.5883, allocations: 0.4911 MB / 0.659 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.5886, allocations: 343 kB / 0.6593 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/0.5891, allocations: 254.7 kB / 0.6596 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.5893, allocations: 402.7 kB / 0.6599 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.5903, allocations: 0.6428 MB / 0.6606 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.5916, allocations: 0.9381 MB / 0.6615 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.5939, allocations: 1.662 MB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.594, allocations: 0 / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003111/0.5971, allocations: 1.872 MB / 0.6649 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5971, allocations: 11.94 kB / 0.6649 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5971, allocations: 12 kB / 0.665 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.5986, allocations: 297.6 kB / 0.6652 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5996, allocations: 287.5 kB / 0.6655 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.6008, allocations: 1.241 MB / 0.6667 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007955/0.6016, allocations: 39.98 kB / 0.6668 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.6018, allocations: 88.11 kB / 0.6668 GB, free: 2.754 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.0005838/0.6024, allocations: 325.4 kB / 0.6672 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.6026, allocations: 86.88 kB / 0.6672 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/0.6069, allocations: 2.434 MB / 0.6696 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002561/0.6095, allocations: 1.484 MB / 0.6711 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6095, allocations: 7.938 kB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.6096, allocations: 7.969 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/0.615, allocations: 3.124 MB / 0.6741 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.615, allocations: 4 kB / 0.6741 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.6158, allocations: 187.7 kB / 0.6743 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.6171, allocations: 289.4 kB / 0.6746 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.6172, allocations: 35.98 kB / 0.6746 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6182, allocations: 1.202 MB / 0.6758 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6182, allocations: 3.938 kB / 0.6758 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.6229, allocations: 2.623 MB / 0.6784 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.6235, allocations: 303.7 kB / 0.6787 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.6238, allocations: 23.98 kB / 0.6787 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.6244, allocations: 27.92 kB / 0.6787 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6245, allocations: 72.91 kB / 0.6788 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.6246, allocations: 47.98 kB / 0.6788 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008586/0.6255, allocations: 0.6161 MB / 0.6794 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6255, allocations: 0 / 0.6794 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003539/0.6291, allocations: 1.248 MB / 0.6806 GB, free: 4.395 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.009843/0.6389, allocations: 4.995 MB / 0.6855 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003386/0.6423, allocations: 1.656 MB / 0.6871 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6424, allocations: 0.5 kB / 0.6871 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.6436, allocations: 0.8271 MB / 0.6879 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.6461, allocations: 486.9 kB / 0.6884 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.665, allocations: 11.64 MB / 0.6998 GB, free: 412 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.666, allocations: 1.137 MB / 0.7009 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001407/0.6674, allocations: 411.8 kB / 0.7013 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008733/0.6683, allocations: 0.5641 MB / 0.7018 GB, free: 14.29 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.6683, allocations: 0 / 0.7018 GB, free: 14.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/1.035, allocations: 58.04 MB / 0.7585 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.06, allocations: 6.594 kB / 0.7585 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)