Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.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.000717/0.000717, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009931/0.00171, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007439/0.0007439, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001752, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9996/0.9996, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08701/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.7332/0.7332, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.7597, allocations: 21.05 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.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") translateModel(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.641e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.004655/0.004681, allocations: 3.532 MB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.006214, allocations: 0.803 MB / 0.5488 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.006344, allocations: 4 kB / 0.5488 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-05/0.006443, allocations: 63.41 kB / 0.5488 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.006665, allocations: 166.5 kB / 0.549 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.006827, allocations: 103.7 kB / 0.5491 GB, free: 25.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.007115, allocations: 0.5347 MB / 0.5496 GB, free: 25.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.007255, allocations: 88.33 kB / 0.5497 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.007483, allocations: 322.4 kB / 0.55 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.00767, allocations: 179.5 kB / 0.5502 GB, free: 24.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.007706, allocations: 36 kB / 0.5502 GB, free: 24.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.007748, allocations: 32 kB / 0.5502 GB, free: 24.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.007783, allocations: 55.75 kB / 0.5503 GB, free: 24.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.007884, allocations: 135.8 kB / 0.5504 GB, free: 24.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.008092, allocations: 283 kB / 0.5507 GB, free: 24.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/0.008107, allocations: 0 / 0.5507 GB, free: 24.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008108, allocations: 0 / 0.5507 GB, free: 24.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.008121, allocations: 0 / 0.5507 GB, free: 24.2 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006625/0.008783, allocations: 0.7746 MB / 0.5514 GB, free: 23.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.008811, allocations: 15.83 kB / 0.5514 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.008873, allocations: 60.89 kB / 0.5515 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.009048, allocations: 217.3 kB / 0.5517 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.009072, allocations: 21.03 kB / 0.5517 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.009103, allocations: 36.33 kB / 0.5518 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.009329, allocations: 330.4 kB / 0.5521 GB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.009345, allocations: 11.92 kB / 0.5521 GB, free: 22.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.009361, allocations: 12 kB / 0.5521 GB, free: 22.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.009367, allocations: 4 kB / 0.5521 GB, free: 22.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.009502, allocations: 212.2 kB / 0.5523 GB, free: 22.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.01013, allocations: 0.6847 MB / 0.553 GB, free: 21.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.01032, allocations: 213.1 kB / 0.5532 GB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.01039, allocations: 150.2 kB / 0.5533 GB, free: 21.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.0104, allocations: 8 kB / 0.5533 GB, free: 21.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.01058, allocations: 437 kB / 0.5538 GB, free: 20.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.362e-06/0.01059, allocations: 4 kB / 0.5538 GB, free: 20.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007976/0.01138, allocations: 1.133 MB / 0.5549 GB, free: 19.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.01143, allocations: 306.7 kB / 0.5552 GB, free: 19.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.01153, allocations: 254.9 kB / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.01155, allocations: 49.64 kB / 0.5554 GB, free: 18.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.01158, allocations: 161.4 kB / 0.5556 GB, free: 18.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.01164, allocations: 170.6 kB / 0.5558 GB, free: 18.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.01171, allocations: 98.3 kB / 0.5559 GB, free: 18.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.01175, allocations: 358.7 kB / 0.5562 GB, free: 18.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.01183, allocations: 194.2 kB / 0.5564 GB, free: 17.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.01193, allocations: 330.9 kB / 0.5567 GB, free: 17.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.01218, allocations: 0.6445 MB / 0.5573 GB, free: 16.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01218, allocations: 0 / 0.5573 GB, free: 16.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002511/0.01243, allocations: 0.5119 MB / 0.5578 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.01246, allocations: 118.8 kB / 0.5579 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01247, allocations: 11.12 kB / 0.5579 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.01248, allocations: 11.94 kB / 0.558 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.01274, allocations: 160.7 kB / 0.5581 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01275, allocations: 11.94 kB / 0.5581 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01287, allocations: 20 kB / 0.5581 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.01289, allocations: 23.98 kB / 0.5582 GB, free: 15.71 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real effectSite.Ce:VARIABLE(min = -1e-9 start = effectSite.Ce0 unit = \"kg/m3\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 29 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 4 * 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.0001152/0.013, allocations: 249.4 kB / 0.5584 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.01304, allocations: 47.97 kB / 0.5585 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.01307, allocations: 43.62 kB / 0.5585 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01308, allocations: 4 kB / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01308, allocations: 0 / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01308, allocations: 3.984 kB / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.0135, allocations: 0.6867 MB / 0.5592 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0135, allocations: 0 / 0.5592 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.01372, allocations: 103.8 kB / 0.5593 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.01375, allocations: 27.77 kB / 0.5593 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01375, allocations: 4 kB / 0.5593 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01377, allocations: 15.98 kB / 0.5593 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01377, allocations: 4 kB / 0.5593 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01377, allocations: 3.312 kB / 0.5593 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.223/0.2368, allocations: 0.7109 MB / 0.56 GB, free: 84.26 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.2369, allocations: 14.66 kB / 0.56 GB, free: 84.26 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.237, allocations: 18.22 kB / 0.56 GB, free: 84.26 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.2371, allocations: 40.19 kB / 0.5601 GB, free: 84.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.2371, allocations: 14.7 kB / 0.5601 GB, free: 84.26 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.2372, allocations: 96 kB / 0.5602 GB, free: 84.25 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2372, allocations: 0 / 0.5602 GB, free: 84.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003048/0.2375, allocations: 122.3 kB / 0.5603 GB, free: 84.25 MB / 410.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,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,effectSite.Ce) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition6,peripheral2.Cmax,$whenCondition5,peripheral2.rising,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.0001073/0.2377, allocations: 107 kB / 0.5604 GB, free: 84.18 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.238, allocations: 0.6627 MB / 0.5611 GB, free: 83.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.238, allocations: 3.406 kB / 0.5611 GB, free: 83.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2382, allocations: 390.2 kB / 0.5614 GB, free: 83.41 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.2386, allocations: 170.5 kB / 0.5616 GB, free: 83.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.2499, allocations: 0.9554 MB / 0.5625 GB, free: 82.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.25, allocations: 202.7 kB / 0.5627 GB, free: 82.84 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.2504, allocations: 193.5 kB / 0.5629 GB, free: 82.81 MB / 410.8 MB Notification: Performance of SimCode: time 1.212e-06/0.2504, allocations: 0.625 kB / 0.5629 GB, free: 82.81 MB / 410.8 MB Notification: Performance of Templates: time 0.005715/0.2561, allocations: 5.286 MB / 0.5681 GB, free: 81.62 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.356267269700766]