Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.1018/0.1018, allocations: 15.56 MB / 34.41 MB, free: 4.496 MB / 26.18 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.001367/0.001367, allocations: 105.8 kB / 41.99 MB, free: 6.176 MB / 34.91 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.001789/0.001789, allocations: 211.9 kB / 49.67 MB, free: 10.02 MB / 34.91 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 1.605/1.605, allocations: 230.6 MB / 287.8 MB, free: 6.32 MB / 206.1 MB " [Timeout remaining time 178] 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.1579/0.1579, allocations: 23.73 MB / 372.4 MB, free: 2.953 MB / 286.1 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: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003574/0.003574, allocations: 115.8 kB / 0.5052 GB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2822, allocations: 63.85 MB / 0.5675 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.04096/0.3231, allocations: 31.11 MB / 0.5979 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.3433, allocations: 15.69 MB / 0.6132 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.3436, allocations: 11.88 kB / 0.6132 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.344, allocations: 111.2 kB / 0.6133 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.3492, allocations: 1.786 MB / 0.6151 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.3528, allocations: 1.328 MB / 0.6164 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008732/0.3536, allocations: 0.5524 MB / 0.6169 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000871/0.3545, allocations: 0.6665 MB / 0.6176 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.3571, allocations: 1.25 MB / 0.6188 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009585/0.3581, allocations: 0.5922 MB / 0.6194 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3582, allocations: 72 kB / 0.6194 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/0.3631, allocations: 1.91 MB / 0.6213 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.3635, allocations: 275.3 kB / 0.6216 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.3639, allocations: 283.2 kB / 0.6218 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.37, allocations: 2.745 MB / 0.6245 GB, free: 3.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.37, allocations: 0 / 0.6245 GB, free: 3.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.37, allocations: 4 kB / 0.6245 GB, free: 3.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.37, allocations: 0 / 0.6245 GB, free: 3.836 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002386/0.3724, allocations: 0.9387 MB / 0.6254 GB, free: 2.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3725, allocations: 8.031 kB / 0.6254 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3726, allocations: 39.77 kB / 0.6255 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.3735, allocations: 380.9 kB / 0.6258 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.3735, allocations: 16.5 kB / 0.6259 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.3736, allocations: 27.94 kB / 0.6259 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3748, allocations: 0.7025 MB / 0.6266 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3749, allocations: 0 / 0.6266 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.3749, allocations: 12 kB / 0.6266 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3749, allocations: 4 kB / 0.6266 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.3768, allocations: 1.071 MB / 0.6276 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.3798, allocations: 1.23 MB / 0.6288 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.3805, allocations: 338.5 kB / 0.6292 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.3811, allocations: 288.7 kB / 0.6294 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.3814, allocations: 39.97 kB / 0.6295 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3814, allocations: 34.56 kB / 0.6295 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001314/0.3827, allocations: 267.6 kB / 0.6298 GB, free: 14.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/0.3827, allocations: 0 / 0.6298 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.009296/0.392, allocations: 2.021 MB / 0.6317 GB, free: 12.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3921, allocations: 55.41 kB / 0.6318 GB, free: 12.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.3925, allocations: 304.2 kB / 0.6321 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.3925, allocations: 29.7 kB / 0.6321 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3927, allocations: 172.8 kB / 0.6323 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3928, allocations: 115 kB / 0.6324 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.393, allocations: 89.61 kB / 0.6325 GB, free: 11.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3932, allocations: 342.8 kB / 0.6328 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.3936, allocations: 227.9 kB / 0.633 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.394, allocations: 231.9 kB / 0.6332 GB, free: 10.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.3949, allocations: 0.5139 MB / 0.6337 GB, free: 10.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3949, allocations: 0 / 0.6337 GB, free: 10.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00222/0.3971, allocations: 0.9079 MB / 0.6346 GB, free: 9.301 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3971, allocations: 7.938 kB / 0.6346 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3971, allocations: 0 / 0.6346 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04921/0.4463, allocations: 4.207 MB / 0.6387 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.4464, allocations: 4 kB / 0.6387 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.4499, allocations: 1.516 MB / 0.6402 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.4502, allocations: 4 kB / 0.6402 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/0.4503, allocations: 35.95 kB / 0.6403 GB, free: 3.492 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.4505, allocations: 157.8 kB / 0.6404 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4507, allocations: 35.77 kB / 0.6404 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.4528, allocations: 1.055 MB / 0.6415 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4528, allocations: 8 kB / 0.6415 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4529, allocations: 0 / 0.6415 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4529, allocations: 0 / 0.6415 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.4556, allocations: 1.592 MB / 0.643 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4556, allocations: 0 / 0.643 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.4557, allocations: 4 kB / 0.643 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.4578, allocations: 0.7791 MB / 0.6438 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.4579, allocations: 11.98 kB / 0.6438 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.4605, allocations: 1.55 MB / 0.6453 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4605, allocations: 4 kB / 0.6453 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.462, allocations: 0.9461 MB / 0.6462 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.4623, allocations: 79.7 kB / 0.6463 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.4623, allocations: 4 kB / 0.6463 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.4626, allocations: 11.98 kB / 0.6463 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.4627, allocations: 19.95 kB / 0.6464 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4627, allocations: 15.98 kB / 0.6464 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.463, allocations: 223.1 kB / 0.6466 GB, free: 12.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.463, allocations: 0 / 0.6466 GB, free: 12.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001748/0.4647, allocations: 0.5952 MB / 0.6472 GB, free: 12.29 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002085/0.4668, allocations: 1.057 MB / 0.6482 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.4693, allocations: 0.7161 MB / 0.6489 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4693, allocations: 4 kB / 0.6489 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4704, allocations: 432.5 kB / 0.6493 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.4717, allocations: 243.1 kB / 0.6495 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4733, allocations: 0.8907 MB / 0.6504 GB, free: 8.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4735, allocations: 197 kB / 0.6506 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.4736, allocations: 43.27 kB / 0.6506 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.4737, allocations: 19.44 kB / 0.6507 GB, free: 8.668 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4737, allocations: 3.938 kB / 0.6507 GB, free: 8.664 MB / 478.1 MB Notification: Performance of Templates: time 0.03911/0.5128, allocations: 24.68 MB / 0.6748 GB, free: 148 kB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.996703192591667] Failed to read output from testmodel.py, exit status != 0: 0.5220066886395216 0.545944618 0.171324905 Calling exit ...