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.0009385/0.0009385, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009966/0.001935, 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.001131/0.001131, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002628, 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 0.9846/0.9846, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08787/1.072, 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.7764/0.7764, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05386/0.8303, allocations: 21.06 MB / 0.5431 GB, free: 31.94 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 1.964e-06/1.964e-06, allocations: 0 / 0.5445 GB, free: 30.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.393e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.49 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.0044/0.004424, allocations: 3.525 MB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.006038, allocations: 0.8107 MB / 0.5488 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.00622, allocations: 8 kB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.006353, allocations: 63.41 kB / 0.5489 GB, free: 26.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.006704, allocations: 170.5 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.006966, allocations: 91.8 kB / 0.5491 GB, free: 25.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.007501, allocations: 0.5425 MB / 0.5496 GB, free: 25.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.007704, allocations: 88.33 kB / 0.5497 GB, free: 25.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.008109, allocations: 330.4 kB / 0.55 GB, free: 24.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.008384, allocations: 175.5 kB / 0.5502 GB, free: 24.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.00846, allocations: 32 kB / 0.5502 GB, free: 24.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.008524, allocations: 36 kB / 0.5503 GB, free: 24.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.008575, allocations: 55.75 kB / 0.5503 GB, free: 24.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.008693, allocations: 127.8 kB / 0.5504 GB, free: 24.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.008999, allocations: 290.9 kB / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.949e-05/0.009019, allocations: 0 / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.009021, allocations: 0 / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.009036, allocations: 4 kB / 0.5507 GB, free: 24.14 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.0008878/0.009924, allocations: 0.7708 MB / 0.5515 GB, free: 23.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.009965, allocations: 11.89 kB / 0.5515 GB, free: 23.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.01004, allocations: 55.95 kB / 0.5515 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.01028, allocations: 213.3 kB / 0.5517 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.01031, allocations: 25.03 kB / 0.5518 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.01035, allocations: 40.31 kB / 0.5518 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.01061, allocations: 334.3 kB / 0.5521 GB, free: 22.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.01063, allocations: 3.984 kB / 0.5521 GB, free: 22.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.01065, allocations: 15.94 kB / 0.5521 GB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.01065, allocations: 8 kB / 0.5521 GB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.0108, allocations: 208.2 kB / 0.5523 GB, free: 22.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.0116, allocations: 0.6847 MB / 0.553 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.01183, allocations: 219.5 kB / 0.5532 GB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.0119, allocations: 150.2 kB / 0.5534 GB, free: 21.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.01191, allocations: 4 kB / 0.5534 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/0.01247, allocations: 444.5 kB / 0.5538 GB, free: 20.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.01247, allocations: 0 / 0.5538 GB, free: 20.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009803/0.01345, allocations: 1.136 MB / 0.5549 GB, free: 19.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.01351, allocations: 302.7 kB / 0.5552 GB, free: 19.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.01363, allocations: 259 kB / 0.5554 GB, free: 18.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.01365, allocations: 37.7 kB / 0.5555 GB, free: 18.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.01371, allocations: 173.3 kB / 0.5556 GB, free: 18.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.01378, allocations: 166.6 kB / 0.5558 GB, free: 18.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.01386, allocations: 98.3 kB / 0.5559 GB, free: 18.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.01392, allocations: 350.7 kB / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01403, allocations: 194.2 kB / 0.5564 GB, free: 17.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.01416, allocations: 338.9 kB / 0.5567 GB, free: 17.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.01448, allocations: 0.6406 MB / 0.5574 GB, free: 16.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.01448, allocations: 0 / 0.5574 GB, free: 16.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003323/0.01481, allocations: 0.5119 MB / 0.5579 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.01487, allocations: 122.8 kB / 0.558 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.01488, allocations: 4 kB / 0.558 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01489, allocations: 8 kB / 0.558 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.0152, allocations: 153.7 kB / 0.5581 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01521, allocations: 11.94 kB / 0.5581 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.01535, allocations: 20 kB / 0.5582 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.01537, allocations: 24.02 kB / 0.5582 GB, free: 15.68 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.0001773/0.01554, allocations: 268.6 kB / 0.5584 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.01559, allocations: 47.97 kB / 0.5585 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.01564, allocations: 39.62 kB / 0.5585 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01564, allocations: 4 kB / 0.5585 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01565, allocations: 4 kB / 0.5585 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01565, allocations: 7.984 kB / 0.5585 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.01617, allocations: 0.679 MB / 0.5592 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01617, allocations: 0 / 0.5592 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.01643, allocations: 103.8 kB / 0.5593 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.01646, allocations: 27.77 kB / 0.5593 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01647, allocations: 4 kB / 0.5593 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.01649, allocations: 15.98 kB / 0.5594 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01649, allocations: 4 kB / 0.5594 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01649, allocations: 0 / 0.5594 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3074/0.3239, allocations: 0.7082 MB / 0.56 GB, free: 84.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.324, allocations: 15.69 kB / 0.5601 GB, free: 84.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3242, allocations: 19.47 kB / 0.5601 GB, free: 84.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.3243, allocations: 36.66 kB / 0.5601 GB, free: 84.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3243, allocations: 14.64 kB / 0.5601 GB, free: 84.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001299/0.3244, allocations: 99.47 kB / 0.5602 GB, free: 84.18 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3244, allocations: 0 / 0.5602 GB, free: 84.18 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003579/0.3248, allocations: 124.6 kB / 0.5603 GB, free: 84.18 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.000147/0.3249, allocations: 109.8 kB / 0.5604 GB, free: 84.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000516/0.3255, allocations: 0.657 MB / 0.5611 GB, free: 83.64 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.3255, allocations: 4.562 kB / 0.5611 GB, free: 83.64 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3257, allocations: 391.2 kB / 0.5615 GB, free: 83.35 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.3262, allocations: 172.1 kB / 0.5616 GB, free: 83.35 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.3371, allocations: 0.9733 MB / 0.5626 GB, free: 82.87 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3373, allocations: 114.8 kB / 0.5627 GB, free: 82.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003381/0.3376, allocations: 47.05 kB / 0.5627 GB, free: 82.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.338, allocations: 192.5 kB / 0.5629 GB, free: 82.75 MB / 410.8 MB Notification: Performance of SimCode: time 1.813e-06/0.338, allocations: 3.844 kB / 0.5629 GB, free: 82.75 MB / 410.8 MB Notification: Performance of Templates: time 0.01055/0.3486, allocations: 7.029 MB / 0.5698 GB, free: 80.95 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7516082813963294]