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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09677/0.09677, allocations: 15.52 MB / 33.01 MB, free: 3.078 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 116 kB / 40.49 MB, free: 440 kB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 188.5 kB / 48.06 MB, free: 1.578 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 281.1 MB, free: 6.965 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.2638/0.2638, allocations: 23.7 MB / 364.3 MB, free: 6.516 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 0.003282/0.003282, allocations: 124.6 kB / 0.4944 GB, free: 47 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.1, allocations: 62.64 MB / 0.5555 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03388/0.1339, allocations: 35.15 MB / 0.5899 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.1539, allocations: 17.84 MB / 0.6073 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.1543, allocations: 4 kB / 0.6073 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.1548, allocations: 119.1 kB / 0.6074 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.1594, allocations: 1.809 MB / 0.6092 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.1626, allocations: 1.297 MB / 0.6104 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.1634, allocations: 0.5524 MB / 0.611 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.1642, allocations: 0.6662 MB / 0.6116 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.1666, allocations: 1.258 MB / 0.6129 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.1674, allocations: 0.6586 MB / 0.6135 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1675, allocations: 76 kB / 0.6136 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.1726, allocations: 2.238 MB / 0.6158 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.1729, allocations: 267.4 kB / 0.616 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.1733, allocations: 322.9 kB / 0.6163 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005832/0.1791, allocations: 2.811 MB / 0.6191 GB, free: 1.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1791, allocations: 0 / 0.6191 GB, free: 1.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1791, allocations: 4 kB / 0.6191 GB, free: 1.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.1792, allocations: 0 / 0.6191 GB, free: 1.812 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.002632/0.1818, allocations: 1.014 MB / 0.6201 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1818, allocations: 12.03 kB / 0.6201 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.182, allocations: 39.75 kB / 0.6201 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.1828, allocations: 434.1 kB / 0.6205 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1828, allocations: 20.56 kB / 0.6205 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.1829, allocations: 23.94 kB / 0.6206 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1842, allocations: 0.7111 MB / 0.6213 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1843, allocations: 7.984 kB / 0.6213 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.1843, allocations: 8 kB / 0.6213 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1843, allocations: 4 kB / 0.6213 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.1862, allocations: 1.076 MB / 0.6223 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.1891, allocations: 1.516 MB / 0.6238 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.1898, allocations: 330.6 kB / 0.6241 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.1903, allocations: 288.7 kB / 0.6244 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1906, allocations: 117.1 kB / 0.6245 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1906, allocations: 42.5 kB / 0.6246 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001331/0.1919, allocations: 271.6 kB / 0.6248 GB, free: 11.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.1919, allocations: 3.938 kB / 0.6248 GB, free: 11.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00932/0.2013, allocations: 2.099 MB / 0.6269 GB, free: 9.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2013, allocations: 55.34 kB / 0.6269 GB, free: 9.516 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.2018, allocations: 368.5 kB / 0.6273 GB, free: 9.148 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.2018, allocations: 29.7 kB / 0.6273 GB, free: 9.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2019, allocations: 156.7 kB / 0.6275 GB, free: 8.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.2021, allocations: 119 kB / 0.6276 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.2022, allocations: 85.62 kB / 0.6276 GB, free: 8.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2024, allocations: 350.7 kB / 0.628 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.2028, allocations: 227.9 kB / 0.6282 GB, free: 8.176 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.2032, allocations: 232.9 kB / 0.6284 GB, free: 7.949 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.2042, allocations: 0.5089 MB / 0.6289 GB, free: 7.438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2042, allocations: 0 / 0.6289 GB, free: 7.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002276/0.2064, allocations: 0.9234 MB / 0.6298 GB, free: 6.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2065, allocations: 4 kB / 0.6298 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2065, allocations: 0 / 0.6298 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05008/0.2565, allocations: 4.175 MB / 0.6339 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.2566, allocations: 4 kB / 0.6339 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.2599, allocations: 1.508 MB / 0.6354 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.2603, allocations: 15.94 kB / 0.6354 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.2603, allocations: 23.95 kB / 0.6354 GB, free: 0.7383 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.0002468/0.2606, allocations: 170.5 kB / 0.6356 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2607, allocations: 39.75 kB / 0.6356 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.2628, allocations: 1.057 MB / 0.6367 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2628, allocations: 4 kB / 0.6367 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2628, allocations: 0 / 0.6367 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2628, allocations: 0 / 0.6367 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.2655, allocations: 1.713 MB / 0.6383 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2655, allocations: 0 / 0.6383 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.2655, allocations: 3.984 kB / 0.6383 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.2677, allocations: 0.7924 MB / 0.6391 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2677, allocations: 8 kB / 0.6391 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.2701, allocations: 1.541 MB / 0.6406 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2701, allocations: 0 / 0.6406 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2716, allocations: 0.9691 MB / 0.6416 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.2718, allocations: 156.8 kB / 0.6417 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.2718, allocations: 4 kB / 0.6417 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2721, allocations: 12 kB / 0.6417 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2722, allocations: 19.91 kB / 0.6417 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.2722, allocations: 16 kB / 0.6418 GB, free: 10.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.2725, allocations: 267 kB / 0.642 GB, free: 9.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2725, allocations: 4 kB / 0.642 GB, free: 9.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001548/0.2741, allocations: 0.5875 MB / 0.6426 GB, free: 9.227 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.002082/0.2762, allocations: 1.058 MB / 0.6436 GB, free: 8.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.2786, allocations: 0.7086 MB / 0.6443 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2786, allocations: 0 / 0.6443 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.2798, allocations: 435.3 kB / 0.6447 GB, free: 7.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.2811, allocations: 289.6 kB / 0.645 GB, free: 6.758 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2828, allocations: 0.9125 MB / 0.6459 GB, free: 5.832 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.2833, allocations: 0.8041 MB / 0.6467 GB, free: 5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.2834, allocations: 39.3 kB / 0.6467 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2835, allocations: 23.44 kB / 0.6467 GB, free: 4.938 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2835, allocations: 0 / 0.6467 GB, free: 4.938 MB / 478.1 MB Notification: Performance of Templates: time 0.04023/0.3237, allocations: 26.26 MB / 0.6724 GB, free: 10.78 MB / 0.4981 GB " [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: 5.962933213450015]