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.08407/0.08407, allocations: 11.15 MB / 31.01 MB, free: 4.781 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.0009621/0.0009621, allocations: 91.72 kB / 38.74 MB, free: 6.832 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.001821/0.001821, allocations: 166.3 kB / 42.14 MB, free: 3.504 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 0.9416/0.9416, allocations: 177.2 MB / 222.6 MB, free: 6.273 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.2107/0.2107, allocations: 17.61 MB / 296.7 MB, free: 1.273 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: 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 1.272e-06/1.272e-06, allocations: 0 / 320.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.647e-05, allocations: 7.156 kB / 320.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.01358/0.01359, allocations: 17.93 MB / 338.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.01515, allocations: 1.705 MB / 340.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.01527, allocations: 7.938 kB / 340.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.01548, allocations: 63.48 kB / 340.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.01664, allocations: 1.017 MB / 341.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.01682, allocations: 151.6 kB / 341.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.01718, allocations: 0.5643 MB / 342.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005386/0.01772, allocations: 0.7233 MB / 343.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008313/0.01855, allocations: 0.8335 MB / 343.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.01902, allocations: 0.5614 MB / 344.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.01909, allocations: 72 kB / 344.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.01985, allocations: 0.717 MB / 345.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.02002, allocations: 275.3 kB / 345.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.02019, allocations: 267.5 kB / 345.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.02127, allocations: 1.398 MB / 347.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.02128, allocations: 0 / 347.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.02128, allocations: 0 / 347.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.02128, allocations: 4 kB / 347.2 MB, free: 3.742 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.001156/0.02244, allocations: 0.6706 MB / 347.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.02246, allocations: 12.03 kB / 347.9 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.02256, allocations: 40.91 kB / 347.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.02291, allocations: 312.3 kB / 348.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.02294, allocations: 20.88 kB / 348.3 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.02299, allocations: 24.12 kB / 348.3 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.02344, allocations: 471 kB / 348.7 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.02345, allocations: 4 kB / 348.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.02348, allocations: 4 kB / 348.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.02349, allocations: 8 kB / 348.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.02401, allocations: 465 kB / 349.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.02515, allocations: 0.7503 MB / 350 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.02539, allocations: 202.4 kB / 350.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.02555, allocations: 120.8 kB / 350.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.02566, allocations: 36.5 kB / 350.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.02568, allocations: 38.56 kB / 350.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006221/0.0263, allocations: 275.6 kB / 350.6 MB, free: 236 kB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.0263, allocations: 0 / 350.6 MB, free: 236 kB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.003044/0.02935, allocations: 1.205 MB / 351.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.02937, allocations: 55.41 kB / 351.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.02952, allocations: 264.6 kB / 352.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.02955, allocations: 29.7 kB / 352.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.02961, allocations: 149.4 kB / 352.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.02967, allocations: 111 kB / 352.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.02976, allocations: 69.61 kB / 352.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.02984, allocations: 354.7 kB / 352.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.02993, allocations: 70.78 kB / 352.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.03002, allocations: 76.19 kB / 353 MB, free: 13.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.03026, allocations: 222.3 kB / 353.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.03026, allocations: 0 / 353.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006333/0.03089, allocations: 417.5 kB / 353.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.0309, allocations: 11.98 kB / 353.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.03091, allocations: 0 / 353.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/0.05151, allocations: 3.695 MB / 357.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.05153, allocations: 7.938 kB / 357.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.05272, allocations: 0.9596 MB / 358.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.05284, allocations: 11.98 kB / 358.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.05288, allocations: 27.89 kB / 358.3 MB, free: 8.418 MB / 330.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 9.911e-05/0.05298, allocations: 116.7 kB / 358.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.05304, allocations: 35.91 kB / 358.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.05376, allocations: 0.5553 MB / 359 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.05377, allocations: 4 kB / 359 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.05377, allocations: 0 / 359 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.05377, allocations: 3.984 kB / 359 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.05463, allocations: 0.8538 MB / 359.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.05464, allocations: 0 / 359.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.05465, allocations: 4 kB / 359.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/0.05547, allocations: 0.588 MB / 360.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.05549, allocations: 8 kB / 360.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008157/0.0563, allocations: 0.9934 MB / 361.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0563, allocations: 0 / 361.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.05697, allocations: 0.5287 MB / 362 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.05706, allocations: 47.72 kB / 362.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.05709, allocations: 12 kB / 362.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.05719, allocations: 4 kB / 362.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.05724, allocations: 23.95 kB / 362.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.05727, allocations: 15.97 kB / 362.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.05734, allocations: 100.6 kB / 362.2 MB, free: 4.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05734, allocations: 0 / 362.2 MB, free: 4.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.05777, allocations: 275.1 kB / 362.5 MB, free: 4.141 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.0005037/0.05828, allocations: 441.6 kB / 362.9 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009063/0.05918, allocations: 416.4 kB / 363.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.05919, allocations: 0 / 363.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.05961, allocations: 296.3 kB / 363.6 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.06016, allocations: 248.9 kB / 363.8 MB, free: 2.777 MB / 330.7 MB Error: Error parsing unit l/(cmH2O.s): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.06151, allocations: 0.7843 MB / 364.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.06157, allocations: 117.6 kB / 364.7 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.06164, allocations: 35.22 kB / 364.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.06186, allocations: 153.2 kB / 364.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.06186, allocations: 4 kB / 364.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Templates: time 0.01719/0.07906, allocations: 18.1 MB / 383 MB, free: 15.76 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1950569027103484]