Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.conf.json 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.002231/0.002231, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.005919/0.005919, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.607/1.607, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.313/1.313, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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) Running command: translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6998 GB, free: 8.703 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.817e-05, allocations: 6.219 kB / 0.6998 GB, free: 8.695 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002998/0.003026, allocations: 2.467 MB / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005197/0.003546, allocations: 283.3 kB / 0.7024 GB, free: 5.934 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.003657, allocations: 0 / 0.7024 GB, free: 5.934 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.003788, allocations: 43.58 kB / 0.7025 GB, free: 5.891 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.004074, allocations: 123 kB / 0.7026 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.004194, allocations: 63.84 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.004501, allocations: 366.1 kB / 0.703 GB, free: 5.348 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.004651, allocations: 52.91 kB / 0.7031 GB, free: 5.301 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.004811, allocations: 195.6 kB / 0.7033 GB, free: 5.109 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.00499, allocations: 127.6 kB / 0.7034 GB, free: 4.984 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.005034, allocations: 24 kB / 0.7034 GB, free: 4.961 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.005074, allocations: 28 kB / 0.7034 GB, free: 4.934 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.005117, allocations: 51.77 kB / 0.7035 GB, free: 4.883 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.00522, allocations: 107.8 kB / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.005472, allocations: 279.1 kB / 0.7038 GB, free: 4.504 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005475, allocations: 0 / 0.7038 GB, free: 4.504 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005477, allocations: 0 / 0.7038 GB, free: 4.504 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005482, allocations: 0 / 0.7038 GB, free: 4.504 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000989/0.006471, allocations: 0.5806 MB / 0.7044 GB, free: 3.871 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006508, allocations: 12.03 kB / 0.7044 GB, free: 3.859 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.006578, allocations: 32.75 kB / 0.7044 GB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.006942, allocations: 228.7 kB / 0.7047 GB, free: 3.578 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.006966, allocations: 20.88 kB / 0.7047 GB, free: 3.559 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.00701, allocations: 28.38 kB / 0.7047 GB, free: 3.531 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.007393, allocations: 285.7 kB / 0.705 GB, free: 3.227 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.007424, allocations: 4.141 kB / 0.705 GB, free: 3.223 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.007449, allocations: 8.375 kB / 0.705 GB, free: 3.215 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.007459, allocations: 8.359 kB / 0.705 GB, free: 3.207 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.007814, allocations: 266.9 kB / 0.7053 GB, free: 2.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.008584, allocations: 498.3 kB / 0.7057 GB, free: 2.41 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.009033, allocations: 268.6 kB / 0.706 GB, free: 2.117 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.009216, allocations: 170.2 kB / 0.7062 GB, free: 1.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.009237, allocations: 4 kB / 0.7062 GB, free: 1.926 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.009593, allocations: 455.2 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.009594, allocations: 0 / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.001707/0.0113, allocations: 1.299 MB / 0.7079 GB, free: 15.99 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/0.01153, allocations: 298.7 kB / 0.7081 GB, free: 15.64 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.01191, allocations: 215.7 kB / 0.7084 GB, free: 15.41 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.01195, allocations: 37.7 kB / 0.7084 GB, free: 15.37 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01206, allocations: 140.8 kB / 0.7085 GB, free: 15.23 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.01221, allocations: 146.9 kB / 0.7087 GB, free: 15.09 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.01235, allocations: 74.19 kB / 0.7087 GB, free: 15.01 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.01255, allocations: 342.8 kB / 0.7091 GB, free: 14.66 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.01288, allocations: 207.9 kB / 0.7093 GB, free: 14.44 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.0133, allocations: 280.3 kB / 0.7095 GB, free: 14.11 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.0148, allocations: 0.8117 MB / 0.7103 GB, free: 13.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0148, allocations: 0 / 0.7103 GB, free: 13.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009104/0.01571, allocations: 0.5581 MB / 0.7109 GB, free: 12.58 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/0.0158, allocations: 89.05 kB / 0.7109 GB, free: 12.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.01581, allocations: 7.984 kB / 0.711 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.01583, allocations: 4 kB / 0.711 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.0162, allocations: 87.89 kB / 0.711 GB, free: 12.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/0.01623, allocations: 11.94 kB / 0.7111 GB, free: 12.37 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.01648, allocations: 23.98 kB / 0.7111 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.01651, allocations: 16 kB / 0.7111 GB, free: 12.33 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.01682, allocations: 257.4 kB / 0.7113 GB, free: 12.05 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.01688, allocations: 31.8 kB / 0.7114 GB, free: 12.02 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.01696, allocations: 34.92 kB / 0.7114 GB, free: 11.99 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01696, allocations: 7.938 kB / 0.7114 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.01697, allocations: 0 / 0.7114 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.01698, allocations: 3.984 kB / 0.7114 GB, free: 11.98 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.01841, allocations: 0.892 MB / 0.7123 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01841, allocations: 0 / 0.7123 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.01879, allocations: 63.89 kB / 0.7123 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01879, allocations: 4 kB / 0.7123 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.01883, allocations: 15.98 kB / 0.7124 GB, free: 10.93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.01883, allocations: 8 kB / 0.7124 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01883, allocations: 3.984 kB / 0.7124 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.02012, allocations: 0.8608 MB / 0.7132 GB, free: 9.984 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.02018, allocations: 31.84 kB / 0.7132 GB, free: 9.953 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.02025, allocations: 12 kB / 0.7133 GB, free: 9.941 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.0205, allocations: 15.98 kB / 0.7133 GB, free: 9.926 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.02061, allocations: 35.94 kB / 0.7133 GB, free: 9.891 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.02064, allocations: 8 kB / 0.7133 GB, free: 9.883 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003048/0.02094, allocations: 175.3 kB / 0.7135 GB, free: 9.711 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02094, allocations: 0 / 0.7135 GB, free: 9.711 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004017/0.02135, allocations: 96 kB / 0.7136 GB, free: 9.617 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.02152, allocations: 121.4 kB / 0.7137 GB, free: 9.488 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.0224, allocations: 0.5986 MB / 0.7143 GB, free: 8.816 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.0224, allocations: 0 / 0.7143 GB, free: 8.816 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.02287, allocations: 411 kB / 0.7147 GB, free: 8.359 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.02336, allocations: 69.5 kB / 0.7147 GB, free: 8.293 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.02507, allocations: 0.8984 MB / 0.7156 GB, free: 7.352 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.02524, allocations: 155.7 kB / 0.7158 GB, free: 7.18 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.02539, allocations: 34.97 kB / 0.7158 GB, free: 7.141 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.02548, allocations: 36.48 kB / 0.7158 GB, free: 7.105 MB / 426.8 MB Notification: Performance of SimCode: time 7.22e-07/0.02549, allocations: 0 / 0.7158 GB, free: 7.105 MB / 426.8 MB Notification: Performance of Templates: time 0.01044/0.03593, allocations: 4.254 MB / 0.72 GB, free: 2.988 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.650329045020044]