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.1038/0.1038, allocations: 11.16 MB / 30.26 MB, free: 6.531 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.001318/0.001318, allocations: 96.06 kB / 37.85 MB, free: 7.953 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.00175/0.00175, allocations: 160.6 kB / 45.52 MB, free: 280 kB / 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.419/1.419, allocations: 177.1 MB / 230.2 MB, free: 8.391 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.1541/0.1541, allocations: 17.64 MB / 308.7 MB, free: 0.7461 MB / 270.1 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 453.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.058e-05, allocations: 2.281 kB / 453.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.04281/0.04285, allocations: 31.06 MB / 484.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.06555, allocations: 15.65 MB / 0.4886 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.06605, allocations: 7.938 kB / 0.4886 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.06679, allocations: 123.1 kB / 0.4887 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.07356, allocations: 1.835 MB / 0.4905 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.07819, allocations: 1.382 MB / 0.4919 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.0792, allocations: 0.5637 MB / 0.4924 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.08034, allocations: 0.6695 MB / 0.4931 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.08418, allocations: 1.371 MB / 0.4944 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.08548, allocations: 0.5691 MB / 0.495 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.08565, allocations: 76 kB / 0.495 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/0.09202, allocations: 1.936 MB / 0.4969 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.09247, allocations: 267.4 kB / 0.4972 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.09317, allocations: 267.5 kB / 0.4974 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008748/0.1019, allocations: 2.998 MB / 0.5004 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1019, allocations: 0 / 0.5004 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1019, allocations: 0 / 0.5004 GB, free: 6.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.1019, allocations: 0 / 0.5004 GB, free: 6.598 MB / 414.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.003161/0.1051, allocations: 0.9387 MB / 0.5013 GB, free: 5.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1052, allocations: 11.98 kB / 0.5013 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.1054, allocations: 35.77 kB / 0.5013 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.1064, allocations: 377 kB / 0.5017 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.1064, allocations: 20.5 kB / 0.5017 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.1065, allocations: 16 kB / 0.5017 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1079, allocations: 0.718 MB / 0.5024 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1079, allocations: 0 / 0.5024 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.108, allocations: 8 kB / 0.5024 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.108, allocations: 8 kB / 0.5024 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.1101, allocations: 1.068 MB / 0.5035 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.1131, allocations: 1.234 MB / 0.5047 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.1139, allocations: 330.6 kB / 0.505 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.1144, allocations: 301.1 kB / 0.5053 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.1147, allocations: 39.91 kB / 0.5053 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1147, allocations: 42.55 kB / 0.5054 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001378/0.1161, allocations: 271.6 kB / 0.5056 GB, free: 1.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 5.089e-06/0.1161, allocations: 0 / 0.5056 GB, free: 1.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.2283/0.3444, allocations: 2.009 MB / 0.5076 GB, free: 75.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3444, allocations: 55.5 kB / 0.5076 GB, free: 75.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.3448, allocations: 300.3 kB / 0.5079 GB, free: 75.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3448, allocations: 32.77 kB / 0.5079 GB, free: 75.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3449, allocations: 172.6 kB / 0.5081 GB, free: 75.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.345, allocations: 108.3 kB / 0.5082 GB, free: 75.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3452, allocations: 89.22 kB / 0.5083 GB, free: 75.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.3453, allocations: 344.5 kB / 0.5086 GB, free: 74.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.3457, allocations: 228.5 kB / 0.5088 GB, free: 74.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.3461, allocations: 234.3 kB / 0.5091 GB, free: 74.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/0.3469, allocations: 0.5052 MB / 0.5096 GB, free: 74.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3469, allocations: 0 / 0.5096 GB, free: 74.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002186/0.3491, allocations: 0.9179 MB / 0.5105 GB, free: 74.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.3492, allocations: 5.188 kB / 0.5105 GB, free: 74.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3492, allocations: 0.9375 kB / 0.5105 GB, free: 74.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05117/0.4003, allocations: 4.238 MB / 0.5146 GB, free: 73.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.4004, allocations: 3.531 kB / 0.5146 GB, free: 73.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.4038, allocations: 1.505 MB / 0.5161 GB, free: 72.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.4041, allocations: 5.312 kB / 0.5161 GB, free: 72.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.4042, allocations: 31.44 kB / 0.5161 GB, free: 72.97 MB / 414.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.000224/0.4044, allocations: 160.7 kB / 0.5163 GB, free: 72.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.4045, allocations: 36.66 kB / 0.5163 GB, free: 72.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.4063, allocations: 1.057 MB / 0.5173 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4063, allocations: 5.844 kB / 0.5173 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4063, allocations: 0.6562 kB / 0.5173 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4063, allocations: 1.406 kB / 0.5173 GB, free: 72.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.4084, allocations: 1.604 MB / 0.5189 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4085, allocations: 0 / 0.5189 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.4085, allocations: 2.562 kB / 0.5189 GB, free: 71.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.4104, allocations: 0.7816 MB / 0.5197 GB, free: 71.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.4104, allocations: 6.75 kB / 0.5197 GB, free: 71.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.4124, allocations: 1.553 MB / 0.5212 GB, free: 70.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4124, allocations: 5.312 kB / 0.5212 GB, free: 70.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4136, allocations: 0.9417 MB / 0.5221 GB, free: 69.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.4138, allocations: 86.77 kB / 0.5222 GB, free: 69.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.4138, allocations: 13.06 kB / 0.5222 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.4141, allocations: 6.625 kB / 0.5222 GB, free: 69.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.4141, allocations: 22.23 kB / 0.5222 GB, free: 69.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.4142, allocations: 14.69 kB / 0.5223 GB, free: 69.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.4144, allocations: 221.9 kB / 0.5225 GB, free: 69.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4144, allocations: 1.406 kB / 0.5225 GB, free: 69.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4158, allocations: 0.5992 MB / 0.5231 GB, free: 69.23 MB / 414.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.001811/0.4176, allocations: 1.088 MB / 0.5241 GB, free: 68.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.42, allocations: 0.7136 MB / 0.5248 GB, free: 68.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.42, allocations: 0 / 0.5248 GB, free: 68.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.4211, allocations: 442.6 kB / 0.5252 GB, free: 68.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.4223, allocations: 254.9 kB / 0.5255 GB, free: 68.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.4235, allocations: 0.8393 MB / 0.5263 GB, free: 67.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4237, allocations: 200.7 kB / 0.5265 GB, free: 67.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4238, allocations: 36.78 kB / 0.5265 GB, free: 67.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.4238, allocations: 19.22 kB / 0.5265 GB, free: 67.49 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4238, allocations: 0 / 0.5265 GB, free: 67.49 MB / 414.1 MB Notification: Performance of Templates: time 0.02645/0.4503, allocations: 24.16 MB / 0.5501 GB, free: 44.29 MB / 414.1 MB " [Timeout remaining time 660] 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: 6.105876035988331] Failed to read output from testmodel.py, exit status != 0: 0.4589143805205822 0.466775374 0.36241879800000004 Calling exit ...