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.1036/0.1036, allocations: 11.15 MB / 21.05 MB, free: 4.625 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01614/0.1198, allocations: 4.824 MB / 25.88 MB, free: 20 kB / 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.000587/0.000587, allocations: 63.23 kB / 26.7 MB, free: 7.781 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001598, allocations: 459 kB / 27.15 MB, free: 7.531 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.0006935/0.0006935, allocations: 162.8 kB / 28.06 MB, free: 6.84 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009494/0.001643, allocations: 463.2 kB / 28.51 MB, free: 6.48 MB / 33.03 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.019/1.019, allocations: 177.2 MB / 206.5 MB, free: 4.344 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1673/1.186, allocations: 53.66 MB / 260.1 MB, free: 0.9297 MB / 250.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.1023/0.1023, allocations: 17.64 MB / 278.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0131/0.1154, allocations: 6.526 MB / 285 MB, free: 8.066 MB / 282.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: 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.154e-06/2.154e-06, allocations: 0 / 286.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.939e-05, allocations: 5.969 kB / 286.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.01567/0.0157, allocations: 18.06 MB / 304.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.0176, allocations: 1.72 MB / 306.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.01776, allocations: 7.938 kB / 306.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.01796, allocations: 67.47 kB / 306.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.02009, allocations: 1.013 MB / 307.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.02038, allocations: 139.7 kB / 307.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.02094, allocations: 0.5754 MB / 307.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006601/0.0216, allocations: 0.7194 MB / 308.6 MB, free: 376 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.02299, allocations: 0.8746 MB / 309.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.02382, allocations: 0.5614 MB / 310.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.02394, allocations: 76 kB / 310.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.02543, allocations: 0.7131 MB / 310.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.0256, allocations: 199.7 kB / 311.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.02578, allocations: 191.8 kB / 311.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.02729, allocations: 1.211 MB / 312.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.0273, allocations: 0 / 312.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.0273, allocations: 0 / 312.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.02731, allocations: 0 / 312.4 MB, free: 12.54 MB / 314.7 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.001253/0.02857, allocations: 0.8415 MB / 313.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.0286, allocations: 15.89 kB / 313.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.02871, allocations: 44.89 kB / 313.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.02909, allocations: 304.4 kB / 313.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.02912, allocations: 20.88 kB / 313.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.02916, allocations: 28.06 kB / 313.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.02961, allocations: 463 kB / 314.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.02961, allocations: 0 / 314.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.02965, allocations: 8 kB / 314.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.02966, allocations: 11.98 kB / 314.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.03016, allocations: 473 kB / 314.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.03137, allocations: 0.7503 MB / 315.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.03165, allocations: 202.4 kB / 315.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.0318, allocations: 132.8 kB / 315.7 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.03194, allocations: 35.97 kB / 315.7 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.03196, allocations: 30.56 kB / 315.8 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006209/0.03258, allocations: 279.6 kB / 316 MB, free: 8.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.03258, allocations: 0 / 316 MB, free: 8.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.003359/0.03594, allocations: 1.2 MB / 317.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.03597, allocations: 55.41 kB / 317.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.03614, allocations: 264.6 kB / 317.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.03617, allocations: 29.7 kB / 317.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.03622, allocations: 141.4 kB / 317.7 MB, free: 7.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.03629, allocations: 115 kB / 317.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.03638, allocations: 77.61 kB / 317.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.03646, allocations: 350.6 kB / 318.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.03656, allocations: 74.78 kB / 318.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.03664, allocations: 75.92 kB / 318.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.03687, allocations: 215.9 kB / 318.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.03687, allocations: 0 / 318.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006403/0.03751, allocations: 424.9 kB / 319 MB, free: 5.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.03752, allocations: 4 kB / 319 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.03753, allocations: 3.984 kB / 319 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02062/0.05815, allocations: 3.769 MB / 322.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.05818, allocations: 7.938 kB / 322.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.05945, allocations: 0.9557 MB / 323.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.05962, allocations: 4 kB / 323.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.05966, allocations: 23.89 kB / 323.8 MB, free: 0.9453 MB / 314.7 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.0001498/0.05981, allocations: 120.7 kB / 323.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.05987, allocations: 31.91 kB / 323.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.06089, allocations: 0.5581 MB / 324.5 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.0609, allocations: 4 kB / 324.5 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.0609, allocations: 0 / 324.5 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.0609, allocations: 3.984 kB / 324.5 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.06184, allocations: 0.8576 MB / 325.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.06185, allocations: 3.984 kB / 325.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.06186, allocations: 4 kB / 325.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.06195, allocations: 51.8 kB / 325.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.06275, allocations: 0.5952 MB / 326 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.06276, allocations: 19.94 kB / 326 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008029/0.06357, allocations: 0.98 MB / 327 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.06357, allocations: 0 / 327 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.06399, allocations: 0.5325 MB / 327.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.06403, allocations: 8 kB / 327.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.06413, allocations: 8 kB / 327.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.06418, allocations: 19.95 kB / 327.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.0642, allocations: 16 kB / 327.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.06427, allocations: 100.6 kB / 327.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06427, allocations: 0 / 327.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005759/0.06485, allocations: 291 kB / 328 MB, free: 12.65 MB / 330.7 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.0005991/0.06545, allocations: 452.7 kB / 328.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008897/0.06634, allocations: 406.9 kB / 328.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.06634, allocations: 4 kB / 328.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.06681, allocations: 349.7 kB / 329.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.06769, allocations: 1.334 MB / 330.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.07359, allocations: 0.8044 MB / 331.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.07366, allocations: 117.6 kB / 331.4 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.07377, allocations: 27.28 kB / 331.5 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.074, allocations: 161.2 kB / 331.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.07401, allocations: 0 / 331.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of Templates: time 0.142/0.216, allocations: 18.95 MB / 350.6 MB, free: 36.25 MB / 330.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.308062396943569]