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.06113/0.06113, 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.000998/0.000998, allocations: 89.91 kB / 37.84 MB, free: 7.469 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.001705/0.001705, allocations: 156.7 kB / 45.51 MB, free: 10.9 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.898/0.898, allocations: 177.2 MB / 230.2 MB, free: 6.59 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.1861/0.1861, allocations: 17.62 MB / 308.7 MB, free: 1.734 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.523e-06/1.523e-06, allocations: 0 / 454.3 MB, free: 4.824 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.014e-05, allocations: 2.281 kB / 454.3 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.2005/0.2005, allocations: 52.6 MB / 0.495 GB, free: 17.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.2195, allocations: 24.83 MB / 0.5193 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2205, allocations: 22.81 kB / 0.5193 GB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.2216, allocations: 410.6 kB / 0.5197 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.2278, allocations: 2.792 MB / 0.5224 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008351/0.2361, allocations: 3.792 MB / 0.5261 GB, free: 13.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.239, allocations: 1.926 MB / 0.528 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.2403, allocations: 0.7334 MB / 0.5287 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/0.2463, allocations: 3.353 MB / 0.532 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.25, allocations: 1.293 MB / 0.5333 GB, free: 10.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.2504, allocations: 130.1 kB / 0.5334 GB, free: 10.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.2607, allocations: 3.667 MB / 0.537 GB, free: 9.215 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.2618, allocations: 0.5659 MB / 0.5375 GB, free: 8.949 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.2639, allocations: 0.5571 MB / 0.5381 GB, free: 8.734 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.279, allocations: 5.777 MB / 0.5437 GB, free: 5.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.279, allocations: 4 kB / 0.5437 GB, free: 5.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.279, allocations: 0 / 0.5437 GB, free: 5.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.919e-05/0.2791, allocations: 0 / 0.5437 GB, free: 5.551 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.004042/0.2831, allocations: 2.074 MB / 0.5457 GB, free: 3.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2832, allocations: 8.031 kB / 0.5457 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.2833, allocations: 168.9 kB / 0.5459 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007719/0.2841, allocations: 294.9 kB / 0.5462 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.2852, allocations: 0.7072 MB / 0.5469 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.2853, allocations: 74 kB / 0.5469 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2854, allocations: 99.95 kB / 0.547 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.2874, allocations: 1.838 MB / 0.5488 GB, free: 156 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2875, allocations: 4 kB / 0.5488 GB, free: 152 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.2875, allocations: 43.94 kB / 0.5489 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.2877, allocations: 77.94 kB / 0.549 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.29, allocations: 2.276 MB / 0.5512 GB, free: 13.75 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.005694/0.2957, allocations: 5.215 MB / 0.5563 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2973, allocations: 1.214 MB / 0.5575 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.2979, allocations: 0.6363 MB / 0.5581 GB, free: 6.574 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003355/0.3013, allocations: 2.799 MB / 0.5608 GB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3013, allocations: 47.5 kB / 0.5609 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003861/0.3017, allocations: 151.2 kB / 0.561 GB, free: 3.551 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.627e-06/0.3017, allocations: 0 / 0.561 GB, free: 3.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.0033/0.305, allocations: 2.426 MB / 0.5634 GB, free: 1.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3051, allocations: 60.41 kB / 0.5634 GB, free: 1.039 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.3058, allocations: 0.7815 MB / 0.5642 GB, free: 252 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.3058, allocations: 37.7 kB / 0.5642 GB, free: 208 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.3061, allocations: 0.5081 MB / 0.5647 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.3063, allocations: 356.9 kB / 0.5651 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.3066, allocations: 254.8 kB / 0.5653 GB, free: 15.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3067, allocations: 406.7 kB / 0.5657 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.3074, allocations: 0.6506 MB / 0.5663 GB, free: 14.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.3082, allocations: 0.9501 MB / 0.5673 GB, free: 12.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.3098, allocations: 1.67 MB / 0.5689 GB, free: 11.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3098, allocations: 4 kB / 0.5689 GB, free: 11.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002075/0.3119, allocations: 1.9 MB / 0.5708 GB, free: 9.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3119, allocations: 8 kB / 0.5708 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.3119, allocations: 8 kB / 0.5708 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3129, allocations: 301.8 kB / 0.5711 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.3135, allocations: 279.6 kB / 0.5713 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007476/0.3142, allocations: 1.241 MB / 0.5725 GB, free: 7.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.3147, allocations: 43.92 kB / 0.5726 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.3148, allocations: 79.97 kB / 0.5727 GB, free: 7.23 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.0005082/0.3153, allocations: 329.6 kB / 0.573 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3155, allocations: 91.39 kB / 0.5731 GB, free: 6.809 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.3183, allocations: 2.455 MB / 0.5755 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001559/0.3199, allocations: 1.507 MB / 0.5769 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3199, allocations: 0 / 0.5769 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3199, allocations: 3.984 kB / 0.5769 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.3235, allocations: 2.983 MB / 0.5798 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3235, allocations: 0 / 0.5798 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3239, allocations: 187.8 kB / 0.58 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/0.3247, allocations: 285.5 kB / 0.5803 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.3247, allocations: 35.98 kB / 0.5803 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005761/0.3253, allocations: 1.206 MB / 0.5815 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3253, allocations: 12 kB / 0.5815 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.3279, allocations: 2.666 MB / 0.5841 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.3283, allocations: 231.1 kB / 0.5843 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3284, allocations: 35.98 kB / 0.5844 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3287, allocations: 23.98 kB / 0.5844 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3288, allocations: 72.88 kB / 0.5845 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.3289, allocations: 47.97 kB / 0.5845 GB, free: 10.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005477/0.3294, allocations: 0.6122 MB / 0.5851 GB, free: 10.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3294, allocations: 0 / 0.5851 GB, free: 10.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002465/0.3319, allocations: 1.273 MB / 0.5864 GB, free: 9.008 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.00607/0.3379, allocations: 5.076 MB / 0.5913 GB, free: 3.906 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.3398, allocations: 1.606 MB / 0.5929 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3398, allocations: 0 / 0.5929 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.3405, allocations: 0.7624 MB / 0.5936 GB, free: 1.531 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.3418, allocations: 0.4894 MB / 0.5941 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.3532, allocations: 11.65 MB / 0.6055 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3536, allocations: 0.5378 MB / 0.606 GB, free: 4.445 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008577/0.3545, allocations: 416 kB / 0.6064 GB, free: 4.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.355, allocations: 0.5536 MB / 0.6069 GB, free: 3.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.355, allocations: 4 kB / 0.6069 GB, free: 3.496 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2279/0.583, allocations: 60.64 MB / 0.6662 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.481, allocations: 6.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.425935551524162] Failed to read output from testmodel.py, exit status != 0: 9.594613153487444 9.60520231 9.32373014 Calling exit ...