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.0007722/0.0007722, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001792, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007425/0.0007425, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009415/0.001684, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9871/0.9871, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.087, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6936/0.6936, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02634/0.7199, allocations: 21.03 MB / 0.5431 GB, free: 31.97 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.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.666e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002047/0.002063, allocations: 2.676 MB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.002544, allocations: 310.9 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.002617, allocations: 8 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.927e-05/0.002676, allocations: 39.56 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.002829, allocations: 107.2 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.404e-05/0.002913, allocations: 67.78 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.003112, allocations: 370.2 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.003209, allocations: 65.78 kB / 0.548 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.003371, allocations: 236 kB / 0.5482 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.003489, allocations: 131.6 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.003517, allocations: 24 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.559e-05/0.003543, allocations: 24 kB / 0.5484 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.00357, allocations: 35.88 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.003637, allocations: 87.81 kB / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.003789, allocations: 187.3 kB / 0.5487 GB, free: 26.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.0038, allocations: 3.938 kB / 0.5487 GB, free: 26.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003801, allocations: 0 / 0.5487 GB, free: 26.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.003813, allocations: 0 / 0.5487 GB, free: 26.31 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.0005361/0.004349, allocations: 0.6047 MB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.318e-05/0.004373, allocations: 12.03 kB / 0.5493 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.00442, allocations: 36.91 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.004578, allocations: 194 kB / 0.5495 GB, free: 25.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.004597, allocations: 19.62 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.004623, allocations: 24.38 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.004774, allocations: 237.7 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.004787, allocations: 4.172 kB / 0.5497 GB, free: 25.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.004799, allocations: 12.31 kB / 0.5498 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.004804, allocations: 4.375 kB / 0.5498 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.004913, allocations: 194.4 kB / 0.55 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.005334, allocations: 374 kB / 0.5503 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.005523, allocations: 205.4 kB / 0.5505 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.005577, allocations: 130.2 kB / 0.5506 GB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.005588, allocations: 4 kB / 0.5506 GB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.005749, allocations: 420.9 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.005751, allocations: 0 / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007279/0.006479, allocations: 1.081 MB / 0.5521 GB, free: 22.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.006523, allocations: 302.7 kB / 0.5524 GB, free: 22.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.006599, allocations: 191.6 kB / 0.5526 GB, free: 21.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.006612, allocations: 37.7 kB / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.006633, allocations: 120.9 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.006687, allocations: 146.8 kB / 0.5529 GB, free: 21.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.006742, allocations: 82.14 kB / 0.5529 GB, free: 21.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.006775, allocations: 338.8 kB / 0.5533 GB, free: 21.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.006838, allocations: 155.9 kB / 0.5534 GB, free: 20.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.006917, allocations: 228.3 kB / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.007106, allocations: 0.497 MB / 0.5541 GB, free: 20.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007107, allocations: 4 kB / 0.5541 GB, free: 20.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002032/0.007311, allocations: 411.4 kB / 0.5545 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.007338, allocations: 89.11 kB / 0.5546 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007343, allocations: 4 kB / 0.5546 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.007352, allocations: 7.938 kB / 0.5546 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.007589, allocations: 138.1 kB / 0.5547 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.007595, allocations: 10.97 kB / 0.5547 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.879e-05/0.007684, allocations: 19.61 kB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.007696, allocations: 16 kB / 0.5548 GB, free: 19.37 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.0001109/0.007807, allocations: 252.7 kB / 0.555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.007836, allocations: 43.91 kB / 0.5551 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.007867, allocations: 34.98 kB / 0.5551 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007869, allocations: 7.938 kB / 0.5551 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.007872, allocations: 0 / 0.5551 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007875, allocations: 0 / 0.5551 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.00826, allocations: 0.6226 MB / 0.5557 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008263, allocations: 0 / 0.5557 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.008474, allocations: 99.86 kB / 0.5558 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.008497, allocations: 23.81 kB / 0.5558 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008499, allocations: 0 / 0.5558 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.008515, allocations: 11.98 kB / 0.5558 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008516, allocations: 4 kB / 0.5558 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008517, allocations: 0 / 0.5558 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.008794, allocations: 0.6818 MB / 0.5565 GB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.008826, allocations: 12 kB / 0.5565 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.008913, allocations: 15.98 kB / 0.5565 GB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.008956, allocations: 27.95 kB / 0.5566 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008966, allocations: 12 kB / 0.5566 GB, free: 17.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.009007, allocations: 65.78 kB / 0.5566 GB, free: 17.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009007, allocations: 0 / 0.5566 GB, free: 17.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.009195, allocations: 95.94 kB / 0.5567 GB, free: 17.2 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.437e-05/0.009259, allocations: 111.5 kB / 0.5568 GB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.009469, allocations: 0.5215 MB / 0.5573 GB, free: 16.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.009475, allocations: 0 / 0.5573 GB, free: 16.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.009581, allocations: 380.4 kB / 0.5577 GB, free: 16.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.009804, allocations: 115.6 kB / 0.5578 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/0.01576, allocations: 0.7514 MB / 0.5585 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.0158, allocations: 93.12 kB / 0.5586 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.204e-05/0.01589, allocations: 42.95 kB / 0.5587 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.01605, allocations: 139.3 kB / 0.5588 GB, free: 14.87 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01605, allocations: 0 / 0.5588 GB, free: 14.87 MB / 410.7 MB Notification: Performance of Templates: time 0.2451/0.2612, allocations: 5.013 MB / 0.5637 GB, free: 84.98 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.637105497531593]