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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.0757/0.0757, allocations: 11.16 MB / 30.25 MB, free: 5.07 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 87.62 kB / 37.83 MB, free: 7.473 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 160.7 kB / 45.5 MB, free: 10.91 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9352/0.9352, allocations: 177.1 MB / 230.2 MB, free: 6.566 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2232/0.2232, allocations: 17.61 MB / 308.7 MB, free: 1.742 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 454.3 MB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.285e-05, allocations: 2.281 kB / 454.3 MB, free: 4.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.224/0.2241, allocations: 52.6 MB / 0.495 GB, free: 17.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.2416, allocations: 24.82 MB / 0.5193 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.243, allocations: 23.31 kB / 0.5193 GB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.2442, allocations: 421.1 kB / 0.5197 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.2532, allocations: 2.788 MB / 0.5224 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.265, allocations: 3.792 MB / 0.5261 GB, free: 13.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.2682, allocations: 1.923 MB / 0.528 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.2694, allocations: 0.7288 MB / 0.5287 GB, free: 11.89 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006471/0.2759, allocations: 3.355 MB / 0.532 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.2794, allocations: 1.306 MB / 0.5333 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.2798, allocations: 133.4 kB / 0.5334 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.2927, allocations: 3.665 MB / 0.537 GB, free: 9.207 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.2937, allocations: 0.5688 MB / 0.5375 GB, free: 8.938 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.295, allocations: 0.5567 MB / 0.5381 GB, free: 8.723 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.316, allocations: 5.776 MB / 0.5437 GB, free: 5.516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.316, allocations: 0 / 0.5437 GB, free: 5.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3161, allocations: 0 / 0.5437 GB, free: 5.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.3161, allocations: 0 / 0.5437 GB, free: 5.516 MB / 426.7 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.004515/0.3206, allocations: 2.074 MB / 0.5457 GB, free: 3.398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3206, allocations: 8.031 kB / 0.5457 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.3208, allocations: 168.9 kB / 0.5459 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.3216, allocations: 294.8 kB / 0.5462 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3227, allocations: 0.7072 MB / 0.5469 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.3227, allocations: 74 kB / 0.547 GB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.323, allocations: 103.9 kB / 0.5471 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.325, allocations: 1.836 MB / 0.5488 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.325, allocations: 7.922 kB / 0.5489 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.3251, allocations: 39.94 kB / 0.5489 GB, free: 68 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.3253, allocations: 78 kB / 0.549 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.3275, allocations: 2.272 MB / 0.5512 GB, free: 13.72 MB / 442.7 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.005825/0.3334, allocations: 5.215 MB / 0.5563 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.3349, allocations: 1.214 MB / 0.5575 GB, free: 7.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.3355, allocations: 0.6363 MB / 0.5581 GB, free: 6.539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00344/0.3389, allocations: 2.799 MB / 0.5608 GB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.339, allocations: 43.5 kB / 0.5609 GB, free: 3.668 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004116/0.3394, allocations: 151.2 kB / 0.561 GB, free: 3.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.3394, allocations: 3.938 kB / 0.561 GB, free: 3.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.003081/0.3425, allocations: 2.43 MB / 0.5634 GB, free: 1.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3425, allocations: 60.41 kB / 0.5634 GB, free: 1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/0.3433, allocations: 0.7776 MB / 0.5642 GB, free: 216 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.3433, allocations: 37.7 kB / 0.5642 GB, free: 172 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3436, allocations: 0.5081 MB / 0.5647 GB, free: 15.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3438, allocations: 356.9 kB / 0.5651 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.3441, allocations: 254.8 kB / 0.5653 GB, free: 15.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3442, allocations: 410.7 kB / 0.5657 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.3449, allocations: 0.6467 MB / 0.5663 GB, free: 13.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3461, allocations: 0.9501 MB / 0.5673 GB, free: 12.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.3476, allocations: 1.674 MB / 0.5689 GB, free: 11.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3476, allocations: 4 kB / 0.5689 GB, free: 11.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002075/0.3497, allocations: 1.892 MB / 0.5707 GB, free: 9.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3497, allocations: 8 kB / 0.5708 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3498, allocations: 8 kB / 0.5708 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009674/0.3507, allocations: 301.9 kB / 0.5711 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.3513, allocations: 291.6 kB / 0.5713 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/0.352, allocations: 1.23 MB / 0.5725 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3525, allocations: 47.92 kB / 0.5726 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3526, allocations: 79.95 kB / 0.5727 GB, free: 7.195 MB / 458.7 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.0004618/0.3531, allocations: 329.6 kB / 0.573 GB, free: 6.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.3532, allocations: 91.39 kB / 0.5731 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.3562, allocations: 2.462 MB / 0.5755 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001588/0.3578, allocations: 1.507 MB / 0.5769 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3578, allocations: 0 / 0.5769 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3578, allocations: 7.969 kB / 0.5769 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.3613, allocations: 2.975 MB / 0.5798 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3613, allocations: 0 / 0.5798 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.3617, allocations: 187.7 kB / 0.58 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.3628, allocations: 293.4 kB / 0.5803 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.3628, allocations: 31.98 kB / 0.5803 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.3634, allocations: 1.206 MB / 0.5815 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3634, allocations: 8.016 kB / 0.5815 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.3661, allocations: 2.67 MB / 0.5841 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.3666, allocations: 231.2 kB / 0.5843 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3667, allocations: 24 kB / 0.5844 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.367, allocations: 23.98 kB / 0.5844 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3671, allocations: 80.86 kB / 0.5845 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.3672, allocations: 47.98 kB / 0.5845 GB, free: 10.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006017/0.3678, allocations: 0.6083 MB / 0.5851 GB, free: 10.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3678, allocations: 0 / 0.5851 GB, free: 10.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002721/0.3705, allocations: 1.273 MB / 0.5863 GB, free: 8.977 MB / 474.7 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.006679/0.3772, allocations: 5.079 MB / 0.5913 GB, free: 3.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3792, allocations: 1.604 MB / 0.5929 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3792, allocations: 1.75 kB / 0.5929 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.38, allocations: 0.7722 MB / 0.5936 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3814, allocations: 481.7 kB / 0.5941 GB, free: 1.031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.3947, allocations: 11.65 MB / 0.6055 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3951, allocations: 0.5417 MB / 0.606 GB, free: 4.414 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009678/0.3961, allocations: 414.3 kB / 0.6064 GB, free: 4.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/0.3968, allocations: 0.5578 MB / 0.6069 GB, free: 3.465 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3968, allocations: 0 / 0.6069 GB, free: 3.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/0.6804, allocations: 60.63 MB / 0.6661 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.571/10.25, allocations: 13.94 kB / 0.6662 GB, free: 143.9 MB / 0.5105 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.438220926560462] Failed to read output from testmodel.py, exit status != 0: 10.369177414104342 10.380385682 10.061978976 Calling exit ...