Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.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.0006647/0.0006647, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001738, allocations: 440 kB / 10.41 MB, free: 284 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.0008376/0.0008376, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009287/0.001766, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9791/0.9791, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.7563/0.7563, allocations: 291.2 MB / 0.5228 GB, free: 52.67 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02934/0.7856, allocations: 21.04 MB / 0.5434 GB, free: 31.68 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.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5448 GB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.834e-05, allocations: 2.312 kB / 0.5448 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference): time 0.00379/0.003818, allocations: 2.496 MB / 0.5472 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.01002, allocations: 6.696 MB / 0.5537 GB, free: 21.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.01023, allocations: 0 / 0.5537 GB, free: 21.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.01034, allocations: 23.72 kB / 0.5538 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.01054, allocations: 95.25 kB / 0.5539 GB, free: 20.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.01071, allocations: 51.81 kB / 0.5539 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.01095, allocations: 266.6 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.01106, allocations: 42.53 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.01124, allocations: 184.2 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.01139, allocations: 83.78 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.01142, allocations: 19.94 kB / 0.5545 GB, free: 20.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.01144, allocations: 16 kB / 0.5545 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.01147, allocations: 27.88 kB / 0.5545 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.01152, allocations: 59.94 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.01167, allocations: 139.4 kB / 0.5547 GB, free: 20.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.01169, allocations: 0 / 0.5547 GB, free: 20.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01169, allocations: 0 / 0.5547 GB, free: 20.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.0117, allocations: 4 kB / 0.5547 GB, free: 20.07 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005087/0.0122, allocations: 0.4937 MB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.01224, allocations: 19.84 kB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.01228, allocations: 28.91 kB / 0.5552 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.01242, allocations: 175 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01244, allocations: 12.59 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.01247, allocations: 16.38 kB / 0.5554 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.01262, allocations: 159.5 kB / 0.5556 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.01263, allocations: 3.984 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01265, allocations: 7.984 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.01265, allocations: 4 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.01273, allocations: 78.28 kB / 0.5557 GB, free: 18.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.01313, allocations: 365 kB / 0.556 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.0133, allocations: 112.2 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.01333, allocations: 58.55 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.01334, allocations: 8 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.01348, allocations: 191.5 kB / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.01348, allocations: 0 / 0.5564 GB, free: 18.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005331/0.01402, allocations: 0.5197 MB / 0.5569 GB, free: 17.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01405, allocations: 162.2 kB / 0.557 GB, free: 17.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.01413, allocations: 206 kB / 0.5572 GB, free: 17.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.01415, allocations: 33.7 kB / 0.5573 GB, free: 17.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.01418, allocations: 124.4 kB / 0.5574 GB, free: 17.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.01421, allocations: 63.47 kB / 0.5574 GB, free: 16.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.01425, allocations: 55.17 kB / 0.5575 GB, free: 16.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.01428, allocations: 330.8 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.01433, allocations: 105 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.01438, allocations: 173.3 kB / 0.5581 GB, free: 16.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.01447, allocations: 215.8 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01447, allocations: 4 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001431/0.01462, allocations: 263.3 kB / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.01465, allocations: 70.2 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01465, allocations: 6.953 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01467, allocations: 8 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01483, allocations: 63.89 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01483, allocations: 4 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.01491, allocations: 19.92 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.01492, allocations: 12 kB / 0.5587 GB, free: 15.53 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 9.694e-05/0.01502, allocations: 169.5 kB / 0.5589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.01504, allocations: 23.98 kB / 0.5589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.01506, allocations: 25.95 kB / 0.5589 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01507, allocations: 4 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01507, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01507, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.01531, allocations: 366.3 kB / 0.5593 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01531, allocations: 3.938 kB / 0.5593 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01543, allocations: 47.34 kB / 0.5593 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.01545, allocations: 23.84 kB / 0.5594 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01545, allocations: 4 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01546, allocations: 8 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01547, allocations: 0 / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01547, allocations: 3.938 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2798/0.2953, allocations: 339.7 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.2953, allocations: 9.469 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.2955, allocations: 11.98 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.2955, allocations: 20.7 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2955, allocations: 6.781 kB / 0.5597 GB, free: 79.35 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.2956, allocations: 64.8 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2956, allocations: 3.344 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002803/0.2959, allocations: 54.78 kB / 0.5599 GB, free: 79.34 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001162/0.296, allocations: 97.5 kB / 0.5599 GB, free: 79.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.2962, allocations: 306.7 kB / 0.5602 GB, free: 79.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.2963, allocations: 3.828 kB / 0.5602 GB, free: 79.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2964, allocations: 149.1 kB / 0.5604 GB, free: 78.95 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2968, allocations: 0.5038 MB / 0.5609 GB, free: 78.45 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.3041, allocations: 0.5618 MB / 0.5614 GB, free: 78.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.3041, allocations: 85.22 kB / 0.5615 GB, free: 78.11 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3042, allocations: 23.59 kB / 0.5615 GB, free: 78.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3044, allocations: 114.8 kB / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of SimCode: time 8.62e-07/0.3044, allocations: 0 / 0.5616 GB, free: 78.06 MB / 410.8 MB Notification: Performance of Templates: time 0.007159/0.3116, allocations: 3.792 MB / 0.5653 GB, free: 77.85 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Jones1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.729645537212491]