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.0006543/0.0006543, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008855/0.00154, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006827/0.0006827, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008644/0.001547, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 1.05/1.05, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09143/1.141, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7923/0.7923, allocations: 291.1 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02966/0.822, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.453e-06/1.453e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.129e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.001879/0.00189, allocations: 2.672 MB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.002312, allocations: 310.9 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.002386, allocations: 4 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.6e-05/0.002452, allocations: 31.64 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.002616, allocations: 119.1 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.273e-05/0.002699, allocations: 67.84 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.002903, allocations: 366.2 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003008, allocations: 57.84 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.003177, allocations: 240 kB / 0.5481 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.003309, allocations: 123.6 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.003342, allocations: 24 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.003371, allocations: 24 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.003401, allocations: 35.88 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.003477, allocations: 95.81 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.003652, allocations: 187.3 kB / 0.5486 GB, free: 26.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.003665, allocations: 7.938 kB / 0.5486 GB, free: 26.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003666, allocations: 0 / 0.5486 GB, free: 26.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.003676, allocations: 0 / 0.5486 GB, free: 26.34 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.0005747/0.004251, allocations: 0.6008 MB / 0.5492 GB, free: 25.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.004277, allocations: 8.031 kB / 0.5492 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.004326, allocations: 36.91 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.004488, allocations: 202 kB / 0.5494 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.004507, allocations: 16.88 kB / 0.5494 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.004533, allocations: 24.38 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.004692, allocations: 233.7 kB / 0.5497 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.004706, allocations: 8.172 kB / 0.5497 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.004719, allocations: 4.375 kB / 0.5497 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004724, allocations: 8.375 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.004829, allocations: 194.4 kB / 0.5499 GB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.005221, allocations: 370 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.005401, allocations: 205.4 kB / 0.5504 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.005453, allocations: 130.2 kB / 0.5505 GB, free: 24.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005464, allocations: 11.94 kB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.005629, allocations: 421 kB / 0.551 GB, free: 23.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.113e-06/0.005632, allocations: 3.984 kB / 0.551 GB, free: 23.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007452/0.006377, allocations: 1.081 MB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.006424, allocations: 302.7 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.0065, allocations: 183.6 kB / 0.5525 GB, free: 21.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.006515, allocations: 37.7 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.006535, allocations: 124.9 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.006593, allocations: 142.8 kB / 0.5528 GB, free: 21.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.006651, allocations: 82.14 kB / 0.5529 GB, free: 21.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.00669, allocations: 342.8 kB / 0.5532 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.006757, allocations: 147.9 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.00684, allocations: 240.2 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.007037, allocations: 0.4971 MB / 0.554 GB, free: 20.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007039, allocations: 0 / 0.554 GB, free: 20.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002085/0.007247, allocations: 415.3 kB / 0.5544 GB, free: 19.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.007283, allocations: 85.11 kB / 0.5545 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.00729, allocations: 4.344 kB / 0.5545 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.007303, allocations: 11.94 kB / 0.5545 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.007538, allocations: 130.9 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007543, allocations: 7.938 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.007636, allocations: 19.98 kB / 0.5547 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.007649, allocations: 16 kB / 0.5547 GB, free: 19.39 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.0001159/0.007765, allocations: 255.8 kB / 0.5549 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.007793, allocations: 39.91 kB / 0.555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.007823, allocations: 31 kB / 0.555 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.007826, allocations: 11.92 kB / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.007828, allocations: 0 / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.007832, allocations: 0 / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.008221, allocations: 0.6304 MB / 0.5556 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008223, allocations: 4 kB / 0.5556 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.008431, allocations: 87.92 kB / 0.5557 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.008454, allocations: 23.81 kB / 0.5557 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.008456, allocations: 0 / 0.5557 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.008473, allocations: 15.98 kB / 0.5558 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008474, allocations: 4 kB / 0.5558 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008475, allocations: 0 / 0.5558 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.008764, allocations: 0.6779 MB / 0.5564 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.008796, allocations: 15.31 kB / 0.5564 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.008886, allocations: 15.98 kB / 0.5565 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.008931, allocations: 31.95 kB / 0.5565 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.008941, allocations: 4 kB / 0.5565 GB, free: 17.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.008982, allocations: 69.78 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008982, allocations: 4 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.009174, allocations: 99.94 kB / 0.5567 GB, free: 17.22 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.527e-05/0.009239, allocations: 106.7 kB / 0.5568 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.009463, allocations: 0.5221 MB / 0.5573 GB, free: 16.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.009466, allocations: 4 kB / 0.5573 GB, free: 16.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.009577, allocations: 380.4 kB / 0.5576 GB, free: 16.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.009803, allocations: 107.8 kB / 0.5577 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.01582, allocations: 0.7517 MB / 0.5585 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.01586, allocations: 97.12 kB / 0.5586 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.03e-05/0.01595, allocations: 38.95 kB / 0.5586 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.01611, allocations: 139.3 kB / 0.5587 GB, free: 14.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01611, allocations: 4 kB / 0.5587 GB, free: 14.89 MB / 410.7 MB Notification: Performance of Templates: time 0.2417/0.2578, allocations: 5.015 MB / 0.5636 GB, free: 85.09 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.5892978254705667]