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.001582/0.001582, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001958/0.001958, allocations: 219.9 kB / 23 MB, free: 2.969 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.9839/0.9839, allocations: 230.6 MB / 256.8 MB, free: 9.566 MB / 202.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.7224/0.7224, allocations: 312.3 MB / 0.6109 GB, free: 97.78 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: 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.001554/0.001554, allocations: 73.8 kB / 0.77 GB, free: 20.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 74 MB / 0.8423 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol): time 0.003536/0.138, allocations: 3.243 MB / 0.8454 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1392, allocations: 0.7612 MB / 0.8462 GB, free: 6.293 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1393, allocations: 8.562 kB / 0.8462 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1395, allocations: 55.98 kB / 0.8462 GB, free: 6.23 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1398, allocations: 164.2 kB / 0.8464 GB, free: 6.07 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.14, allocations: 92.52 kB / 0.8465 GB, free: 5.98 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1404, allocations: 0.5175 MB / 0.847 GB, free: 5.461 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1406, allocations: 83.69 kB / 0.8471 GB, free: 5.375 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1408, allocations: 187.9 kB / 0.8472 GB, free: 5.191 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.141, allocations: 187.8 kB / 0.8474 GB, free: 5.008 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.1411, allocations: 40.56 kB / 0.8475 GB, free: 4.969 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1411, allocations: 32 kB / 0.8475 GB, free: 4.938 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1412, allocations: 76.22 kB / 0.8476 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1413, allocations: 191.9 kB / 0.8478 GB, free: 4.676 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.1417, allocations: 394.3 kB / 0.8481 GB, free: 4.289 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1417, allocations: 0.5 kB / 0.8481 GB, free: 4.289 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1417, allocations: 0.5625 kB / 0.8481 GB, free: 4.289 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1417, allocations: 0 / 0.8481 GB, free: 4.289 MB / 474.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.0009165/0.1426, allocations: 0.7293 MB / 0.8488 GB, free: 3.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1426, allocations: 20.42 kB / 0.8489 GB, free: 3.488 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.1427, allocations: 41.33 kB / 0.8489 GB, free: 3.449 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.143, allocations: 241.3 kB / 0.8491 GB, free: 3.188 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.143, allocations: 21.66 kB / 0.8491 GB, free: 3.168 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.143, allocations: 39.94 kB / 0.8492 GB, free: 3.129 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.1435, allocations: 394.8 kB / 0.8496 GB, free: 2.715 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1435, allocations: 8.453 kB / 0.8496 GB, free: 2.707 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1435, allocations: 12.62 kB / 0.8496 GB, free: 2.695 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1435, allocations: 7.984 kB / 0.8496 GB, free: 2.688 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.1439, allocations: 328.6 kB / 0.8499 GB, free: 2.352 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1449, allocations: 0.8946 MB / 0.8508 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1454, allocations: 318.3 kB / 0.8511 GB, free: 1.062 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1456, allocations: 214.8 kB / 0.8513 GB, free: 0.832 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1456, allocations: 4 kB / 0.8513 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.146, allocations: 492.5 kB / 0.8518 GB, free: 284 kB / 474.8 MB Notification: Performance of pre-optimization done (n=46): time 2.525e-06/0.146, allocations: 0.625 kB / 0.8518 GB, free: 284 kB / 474.8 MB Notification: Performance of matching and sorting (n=49): time 0.001588/0.1476, allocations: 1.485 MB / 0.8532 GB, free: 14.67 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1477, allocations: 310.5 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1479, allocations: 284.8 kB / 0.8538 GB, free: 14.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1479, allocations: 37.7 kB / 0.8538 GB, free: 13.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.148, allocations: 185.6 kB / 0.854 GB, free: 13.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.1481, allocations: 166.7 kB / 0.8542 GB, free: 13.62 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.1482, allocations: 102.9 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.1483, allocations: 351.5 kB / 0.8546 GB, free: 13.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1485, allocations: 278.2 kB / 0.8548 GB, free: 12.86 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1488, allocations: 416 kB / 0.8552 GB, free: 12.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2739/0.4226, allocations: 1.029 MB / 0.8563 GB, free: 29.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.4226, allocations: 0 / 0.8563 GB, free: 29.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007891/0.4234, allocations: 0.7473 MB / 0.857 GB, free: 28.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.4235, allocations: 121.3 kB / 0.8571 GB, free: 28.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4235, allocations: 3.25 kB / 0.8571 GB, free: 28.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.4235, allocations: 6.344 kB / 0.8571 GB, free: 28.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.4238, allocations: 113.3 kB / 0.8572 GB, free: 28.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4238, allocations: 6.844 kB / 0.8572 GB, free: 28.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.424, allocations: 26.84 kB / 0.8572 GB, free: 28.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.424, allocations: 28.3 kB / 0.8573 GB, free: 28.84 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.000293/0.4243, allocations: 269.5 kB / 0.8575 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.4244, allocations: 40.61 kB / 0.8576 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.4244, allocations: 43.22 kB / 0.8576 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4244, allocations: 11.53 kB / 0.8576 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4244, allocations: 0.5 kB / 0.8576 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4244, allocations: 1.453 kB / 0.8576 GB, free: 28.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4255, allocations: 1.008 MB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4255, allocations: 0.5 kB / 0.8586 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.4257, allocations: 77.39 kB / 0.8587 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4257, allocations: 3.562 kB / 0.8587 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.4257, allocations: 14.73 kB / 0.8587 GB, free: 28.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4257, allocations: 10.5 kB / 0.8587 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4257, allocations: 2.625 kB / 0.8587 GB, free: 28.17 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.4265, allocations: 0.9754 MB / 0.8597 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4265, allocations: 35.81 kB / 0.8597 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.4266, allocations: 15.08 kB / 0.8597 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4267, allocations: 23.84 kB / 0.8597 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4268, allocations: 40.3 kB / 0.8598 GB, free: 27.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.4268, allocations: 19.62 kB / 0.8598 GB, free: 27.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001345/0.427, allocations: 198.4 kB / 0.86 GB, free: 27.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.427, allocations: 3.938 kB / 0.86 GB, free: 27.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003043/0.4273, allocations: 122.5 kB / 0.8601 GB, free: 27.66 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.0001216/0.4274, allocations: 138.6 kB / 0.8602 GB, free: 27.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.428, allocations: 0.7637 MB / 0.861 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.428, allocations: 1 kB / 0.861 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4283, allocations: 439.4 kB / 0.8614 GB, free: 26.79 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.4288, allocations: 118.8 kB / 0.8615 GB, free: 26.79 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.4305, allocations: 1.337 MB / 0.8628 GB, free: 26.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.4306, allocations: 197.8 kB / 0.863 GB, free: 26.03 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.4307, allocations: 35.92 kB / 0.863 GB, free: 26.02 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.4307, allocations: 2.344 kB / 0.863 GB, free: 26.02 MB / 490.8 MB Notification: Performance of Templates: time 0.00947/0.4402, allocations: 5.302 MB / 0.8682 GB, free: 25.52 MB / 490.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: 6.386333327740431]