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.0006377/0.0006377, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008772/0.001515, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006614/0.0006614, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000914/0.001575, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9766/0.9766, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07259/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7482/0.7482, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03258/0.7808, allocations: 21.04 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.226e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002184/0.002196, allocations: 2.674 MB / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.002711, allocations: 310.9 kB / 0.5475 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.002814, allocations: 4 kB / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.153e-05/0.002896, allocations: 31.64 kB / 0.5475 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.003083, allocations: 119 kB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.003183, allocations: 63.89 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.003432, allocations: 366.2 kB / 0.5481 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003546, allocations: 62.78 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.003713, allocations: 236 kB / 0.5484 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.003856, allocations: 127.6 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.003889, allocations: 20 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.00392, allocations: 32 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.003957, allocations: 39.81 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.004029, allocations: 83.88 kB / 0.5486 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004197, allocations: 191.3 kB / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.004208, allocations: 0 / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004209, allocations: 0 / 0.5488 GB, free: 25.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.004217, allocations: 0 / 0.5488 GB, free: 25.8 MB / 410.7 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.000603/0.00482, allocations: 0.6047 MB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.004851, allocations: 12.03 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.004908, allocations: 36.91 kB / 0.5495 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005086, allocations: 193.3 kB / 0.5497 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.005105, allocations: 24.81 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.005136, allocations: 24.38 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.005314, allocations: 233.7 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.005329, allocations: 8.156 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.005344, allocations: 12.38 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.00535, allocations: 4.375 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.005468, allocations: 190.4 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.00593, allocations: 378 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.006157, allocations: 197.4 kB / 0.5507 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.006221, allocations: 146.2 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.006235, allocations: 4 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.006414, allocations: 420.9 kB / 0.5512 GB, free: 23.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.182e-06/0.006416, allocations: 0 / 0.5512 GB, free: 23.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008191/0.007235, allocations: 1.081 MB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.007298, allocations: 387.8 kB / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.007385, allocations: 191.6 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.007401, allocations: 33.7 kB / 0.5529 GB, free: 21.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.007426, allocations: 116.9 kB / 0.553 GB, free: 21.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.007489, allocations: 150.8 kB / 0.5531 GB, free: 20.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.007545, allocations: 78.16 kB / 0.5532 GB, free: 20.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.007586, allocations: 350.8 kB / 0.5535 GB, free: 20.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.007654, allocations: 151.9 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.00774, allocations: 232.2 kB / 0.5539 GB, free: 20.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.007946, allocations: 0.501 MB / 0.5544 GB, free: 19.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007948, allocations: 0 / 0.5544 GB, free: 19.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002122/0.00816, allocations: 411.5 kB / 0.5548 GB, free: 19.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.008198, allocations: 97.09 kB / 0.5549 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008203, allocations: 0 / 0.5549 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008217, allocations: 11.94 kB / 0.5549 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.008459, allocations: 129.9 kB / 0.555 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.008464, allocations: 11.94 kB / 0.555 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.008559, allocations: 19.98 kB / 0.555 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.008571, allocations: 12 kB / 0.555 GB, free: 18.73 MB / 410.7 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.0001251/0.008696, allocations: 255.6 kB / 0.5553 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.008733, allocations: 43.91 kB / 0.5553 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.008767, allocations: 27 kB / 0.5554 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.00877, allocations: 4 kB / 0.5554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.008773, allocations: 4 kB / 0.5554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.008777, allocations: 3.984 kB / 0.5554 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.009177, allocations: 0.6149 MB / 0.556 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009179, allocations: 7.922 kB / 0.556 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.009389, allocations: 99.91 kB / 0.5561 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.009412, allocations: 23.81 kB / 0.5561 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009415, allocations: 0 / 0.5561 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.009429, allocations: 12 kB / 0.5561 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009431, allocations: 7.984 kB / 0.5561 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.009433, allocations: 3.938 kB / 0.5561 GB, free: 17.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.009734, allocations: 0.6779 MB / 0.5568 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.00977, allocations: 12 kB / 0.5568 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.009859, allocations: 12 kB / 0.5568 GB, free: 16.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.009906, allocations: 35.94 kB / 0.5568 GB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.009917, allocations: 8 kB / 0.5568 GB, free: 16.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.009964, allocations: 69.53 kB / 0.5569 GB, free: 16.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009964, allocations: 0 / 0.5569 GB, free: 16.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01016, allocations: 96 kB / 0.557 GB, free: 16.57 MB / 410.7 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 6.936e-05/0.01023, allocations: 101.9 kB / 0.5571 GB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.01046, allocations: 0.5301 MB / 0.5576 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.01047, allocations: 4 kB / 0.5576 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.0106, allocations: 395.5 kB / 0.558 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01089, allocations: 377.5 kB / 0.5584 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.01686, allocations: 0.7353 MB / 0.5591 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2325/0.2494, allocations: 101.1 kB / 0.5592 GB, free: 85.02 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.2496, allocations: 30.88 kB / 0.5592 GB, free: 85.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.2498, allocations: 145.5 kB / 0.5593 GB, free: 84.97 MB / 410.8 MB Notification: Performance of SimCode: time 7.22e-07/0.2498, allocations: 1.938 kB / 0.5593 GB, free: 84.97 MB / 410.8 MB Notification: Performance of Templates: time 0.006972/0.2568, allocations: 5.02 MB / 0.5642 GB, free: 84.32 MB / 410.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: 3.4521494330838323]