Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.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.002644/0.002644, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002885/0.002885, allocations: 215.5 kB / 22.25 MB, free: 3.566 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.779/1.779, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 1.467/1.467, allocations: 316.7 MB / 0.6144 GB, free: 93.07 MB / 410.7 MB " [Timeout remaining time 178] 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.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=780,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=780,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005568/0.005568, allocations: 77.5 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.2003, allocations: 73.99 MB / 0.8473 GB, free: 4.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol): time 0.005303/0.2056, allocations: 3.239 MB / 0.8505 GB, free: 1.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2072, allocations: 0.7703 MB / 0.8512 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2074, allocations: 7.938 kB / 0.8512 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.2076, allocations: 59.47 kB / 0.8513 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.208, allocations: 161.6 kB / 0.8514 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.2083, allocations: 95.81 kB / 0.8515 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000661/0.209, allocations: 0.513 MB / 0.852 GB, free: 36 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.2092, allocations: 79.72 kB / 0.8521 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.2095, allocations: 191.8 kB / 0.8523 GB, free: 15.77 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.2099, allocations: 189.5 kB / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.2099, allocations: 32 kB / 0.8525 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.21, allocations: 36 kB / 0.8525 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.2101, allocations: 79.62 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.2103, allocations: 183.2 kB / 0.8528 GB, free: 15.26 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.2109, allocations: 406.3 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2109, allocations: 1.969 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2109, allocations: 0 / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2109, allocations: 0 / 0.8532 GB, free: 14.86 MB / 490.8 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.001721/0.2126, allocations: 0.7244 MB / 0.8539 GB, free: 14.08 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.2127, allocations: 13.02 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2128, allocations: 44.7 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.2132, allocations: 241.3 kB / 0.8542 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.2132, allocations: 29.58 kB / 0.8542 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.2133, allocations: 40.5 kB / 0.8542 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.2141, allocations: 394.8 kB / 0.8546 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.2141, allocations: 4.516 kB / 0.8546 GB, free: 13.28 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2141, allocations: 12 kB / 0.8546 GB, free: 13.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2141, allocations: 8.531 kB / 0.8546 GB, free: 13.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.2148, allocations: 336.7 kB / 0.8549 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.417/0.6318, allocations: 0.8778 MB / 0.8558 GB, free: 24.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.6324, allocations: 320.7 kB / 0.8561 GB, free: 24.17 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.6327, allocations: 212.3 kB / 0.8563 GB, free: 24.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.6327, allocations: 2.156 kB / 0.8563 GB, free: 24.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004892/0.6332, allocations: 498.5 kB / 0.8568 GB, free: 23.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=46): time 2.225e-06/0.6332, allocations: 0 / 0.8568 GB, free: 23.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=49): time 0.002204/0.6354, allocations: 1.488 MB / 0.8582 GB, free: 23.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.6355, allocations: 305.6 kB / 0.8585 GB, free: 22.71 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.6357, allocations: 278.2 kB / 0.8588 GB, free: 22.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.6357, allocations: 41 kB / 0.8588 GB, free: 22.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.6358, allocations: 187.3 kB / 0.859 GB, free: 22.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.6359, allocations: 165.8 kB / 0.8592 GB, free: 22.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.636, allocations: 95.62 kB / 0.8593 GB, free: 22.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.6361, allocations: 356 kB / 0.8596 GB, free: 22.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.6364, allocations: 280.1 kB / 0.8599 GB, free: 21.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.6368, allocations: 421.7 kB / 0.8603 GB, free: 21.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.638, allocations: 1.023 MB / 0.8613 GB, free: 21 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.638, allocations: 2.406 kB / 0.8613 GB, free: 21 MB / 490.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008696/0.6389, allocations: 0.7425 MB / 0.862 GB, free: 20.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.6389, allocations: 124.5 kB / 0.8621 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6389, allocations: 5.156 kB / 0.8621 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.639, allocations: 9.266 kB / 0.8621 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.6393, allocations: 112.5 kB / 0.8622 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.6394, allocations: 15.22 kB / 0.8623 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.6396, allocations: 28.81 kB / 0.8623 GB, free: 20.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.6396, allocations: 23.45 kB / 0.8623 GB, free: 20.57 MB / 490.8 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.000221/0.6399, allocations: 275.5 kB / 0.8626 GB, free: 20.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.6399, allocations: 41.7 kB / 0.8626 GB, free: 20.33 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.64, allocations: 42.09 kB / 0.8627 GB, free: 20.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.64, allocations: 4.25 kB / 0.8627 GB, free: 20.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.64, allocations: 0.625 kB / 0.8627 GB, free: 20.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.64, allocations: 1.781 kB / 0.8627 GB, free: 20.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.6412, allocations: 1.001 MB / 0.8636 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6412, allocations: 0 / 0.8636 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.6416, allocations: 80.23 kB / 0.8637 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6416, allocations: 2.953 kB / 0.8637 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.6416, allocations: 18.23 kB / 0.8637 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6416, allocations: 1.688 kB / 0.8637 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6416, allocations: 6.094 kB / 0.8637 GB, free: 19.89 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6429, allocations: 0.9785 MB / 0.8647 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.6429, allocations: 35.47 kB / 0.8647 GB, free: 19.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.643, allocations: 14.17 kB / 0.8647 GB, free: 19.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.6432, allocations: 22.11 kB / 0.8648 GB, free: 19.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.6433, allocations: 44.19 kB / 0.8648 GB, free: 19.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.6434, allocations: 18.09 kB / 0.8648 GB, free: 19.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002012/0.6436, allocations: 198.5 kB / 0.865 GB, free: 19.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6436, allocations: 0.5625 kB / 0.865 GB, free: 19.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004205/0.644, allocations: 124.1 kB / 0.8651 GB, free: 19.33 MB / 490.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.0001374/0.6441, allocations: 130.9 kB / 0.8653 GB, free: 19.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.6451, allocations: 0.7793 MB / 0.866 GB, free: 18.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6451, allocations: 0.75 kB / 0.866 GB, free: 18.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.6455, allocations: 440.4 kB / 0.8664 GB, free: 18.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.6462, allocations: 121.4 kB / 0.8666 GB, free: 18.48 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.6483, allocations: 1.305 MB / 0.8678 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.6485, allocations: 198.2 kB / 0.868 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.6487, allocations: 44.41 kB / 0.8681 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.6488, allocations: 36.53 kB / 0.8681 GB, free: 17.69 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.6488, allocations: 0 / 0.8681 GB, free: 17.69 MB / 490.8 MB Notification: Performance of Templates: time 0.01392/0.6627, allocations: 6.657 MB / 0.8746 GB, free: 17.04 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.969041202915832]