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.0009883/0.0009883, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009737/0.0009737, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9313/0.9313, allocations: 177.1 MB / 203.5 MB, free: 5.363 MB / 186.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.7557/0.7557, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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,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: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.95e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol): time 0.002963/0.002993, allocations: 3.241 MB / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004159, allocations: 0.783 MB / 0.7014 GB, free: 6.238 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.004328, allocations: 4 kB / 0.7014 GB, free: 6.234 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.004478, allocations: 55.42 kB / 0.7014 GB, free: 6.18 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.00476, allocations: 162.6 kB / 0.7016 GB, free: 6.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.005038, allocations: 103.7 kB / 0.7017 GB, free: 5.918 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.005397, allocations: 0.5361 MB / 0.7022 GB, free: 5.379 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.005584, allocations: 87.44 kB / 0.7023 GB, free: 5.289 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.005824, allocations: 279.4 kB / 0.7025 GB, free: 5.016 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.00605, allocations: 159.5 kB / 0.7027 GB, free: 4.859 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.006092, allocations: 35.94 kB / 0.7027 GB, free: 4.824 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.006131, allocations: 36 kB / 0.7028 GB, free: 4.789 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.006176, allocations: 83.66 kB / 0.7028 GB, free: 4.707 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.006286, allocations: 159.6 kB / 0.703 GB, free: 4.551 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.006592, allocations: 402.7 kB / 0.7034 GB, free: 4.156 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.006595, allocations: 4 kB / 0.7034 GB, free: 4.152 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006597, allocations: 0 / 0.7034 GB, free: 4.152 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.006604, allocations: 4 kB / 0.7034 GB, free: 4.148 MB / 410.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.0008221/0.007426, allocations: 0.7153 MB / 0.7041 GB, free: 3.379 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.007469, allocations: 11.89 kB / 0.7041 GB, free: 3.367 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.007545, allocations: 40.7 kB / 0.7041 GB, free: 3.328 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.007769, allocations: 244.5 kB / 0.7044 GB, free: 3.066 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.00779, allocations: 29.03 kB / 0.7044 GB, free: 3.039 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.007829, allocations: 28.38 kB / 0.7044 GB, free: 3.012 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.00821, allocations: 406.4 kB / 0.7048 GB, free: 2.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.008228, allocations: 7.938 kB / 0.7048 GB, free: 2.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.008249, allocations: 12 kB / 0.7048 GB, free: 2.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.008257, allocations: 8 kB / 0.7048 GB, free: 2.562 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.008578, allocations: 331.5 kB / 0.7052 GB, free: 2.219 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.009516, allocations: 0.8764 MB / 0.706 GB, free: 1.289 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.00994, allocations: 321 kB / 0.7063 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.0101, allocations: 218.2 kB / 0.7065 GB, free: 0.707 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.01011, allocations: 4 kB / 0.7065 GB, free: 0.7031 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.01045, allocations: 0.4951 MB / 0.707 GB, free: 140 kB / 410.8 MB Notification: Performance of pre-optimization done (n=46): time 2.345e-06/0.01045, allocations: 0 / 0.707 GB, free: 140 kB / 410.8 MB Notification: Performance of matching and sorting (n=49): time 0.001743/0.01219, allocations: 1.483 MB / 0.7085 GB, free: 14.53 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.01232, allocations: 306.5 kB / 0.7088 GB, free: 14.16 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.01256, allocations: 280.1 kB / 0.709 GB, free: 13.88 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01259, allocations: 41.7 kB / 0.7091 GB, free: 13.83 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01269, allocations: 185 kB / 0.7092 GB, free: 13.65 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.01279, allocations: 162.6 kB / 0.7094 GB, free: 13.49 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01289, allocations: 94.34 kB / 0.7095 GB, free: 13.39 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01299, allocations: 354.7 kB / 0.7098 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.01326, allocations: 286.1 kB / 0.7101 GB, free: 12.73 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.01356, allocations: 418.8 kB / 0.7105 GB, free: 12.24 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.01457, allocations: 1.029 MB / 0.7115 GB, free: 11.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.01457, allocations: 4 kB / 0.7115 GB, free: 11.06 MB / 426.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007053/0.01528, allocations: 0.7409 MB / 0.7122 GB, free: 10.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.01535, allocations: 114.8 kB / 0.7123 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.01536, allocations: 11.88 kB / 0.7123 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.01538, allocations: 8 kB / 0.7124 GB, free: 10.11 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.01562, allocations: 111.8 kB / 0.7125 GB, free: 10 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.01564, allocations: 11.98 kB / 0.7125 GB, free: 9.988 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.0158, allocations: 32.33 kB / 0.7125 GB, free: 9.957 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.01583, allocations: 24 kB / 0.7125 GB, free: 9.934 MB / 426.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.0002652/0.01609, allocations: 272.7 kB / 0.7128 GB, free: 9.641 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01614, allocations: 39.77 kB / 0.7128 GB, free: 9.602 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.01619, allocations: 47.62 kB / 0.7129 GB, free: 9.555 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01619, allocations: 4 kB / 0.7129 GB, free: 9.551 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.0162, allocations: 4 kB / 0.7129 GB, free: 9.547 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.01621, allocations: 3.984 kB / 0.7129 GB, free: 9.543 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.0172, allocations: 1.019 MB / 0.7139 GB, free: 8.445 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0172, allocations: 0 / 0.7139 GB, free: 8.445 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.01741, allocations: 75.95 kB / 0.714 GB, free: 8.371 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01741, allocations: 0 / 0.714 GB, free: 8.371 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.01744, allocations: 15.98 kB / 0.714 GB, free: 8.355 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01744, allocations: 3.938 kB / 0.714 GB, free: 8.352 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01744, allocations: 4 kB / 0.714 GB, free: 8.348 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.01832, allocations: 0.9762 MB / 0.7149 GB, free: 7.301 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.01838, allocations: 31.75 kB / 0.715 GB, free: 7.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.01843, allocations: 16 kB / 0.715 GB, free: 7.254 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01856, allocations: 23.98 kB / 0.715 GB, free: 7.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.01866, allocations: 43.91 kB / 0.715 GB, free: 7.188 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.01868, allocations: 16 kB / 0.7151 GB, free: 7.172 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001408/0.01882, allocations: 207.1 kB / 0.7152 GB, free: 6.973 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01882, allocations: 0 / 0.7152 GB, free: 6.973 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003172/0.01913, allocations: 120 kB / 0.7154 GB, free: 6.855 MB / 426.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.0001544/0.01929, allocations: 134.5 kB / 0.7155 GB, free: 6.715 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.02, allocations: 0.7736 MB / 0.7162 GB, free: 5.852 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02, allocations: 0 / 0.7162 GB, free: 5.852 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.02035, allocations: 435.6 kB / 0.7167 GB, free: 5.371 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.02079, allocations: 123.4 kB / 0.7168 GB, free: 5.25 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.02223, allocations: 1.109 MB / 0.7179 GB, free: 4.086 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.02236, allocations: 196.1 kB / 0.7181 GB, free: 3.879 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.02244, allocations: 40.5 kB / 0.7181 GB, free: 3.84 MB / 426.8 MB Notification: Performance of SimCode: time 1.052e-06/0.02245, allocations: 4 kB / 0.7181 GB, free: 3.836 MB / 426.8 MB Notification: Performance of Templates: time 0.1884/0.2109, allocations: 5.304 MB / 0.7233 GB, free: 34.89 MB / 426.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.842022557742894]