Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_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.001062/0.001062, allocations: 112.3 kB / 19.71 MB, free: 432 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.001238/0.001238, allocations: 217.3 kB / 23 MB, free: 2.949 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.024/1.024, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.6958/0.6958, allocations: 312.3 MB / 0.6109 GB, free: 97.04 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.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference") [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.001551/0.001551, allocations: 82.48 kB / 0.7699 GB, free: 19.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 73.99 MB / 0.8421 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference): time 0.00246/0.1205, allocations: 2.286 MB / 0.8444 GB, free: 7.602 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.1253, allocations: 6.529 MB / 0.8508 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.1254, allocations: 4 kB / 0.8508 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.1255, allocations: 28.3 kB / 0.8508 GB, free: 1.039 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1257, allocations: 80.42 kB / 0.8509 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1259, allocations: 52.53 kB / 0.8509 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1261, allocations: 258.7 kB / 0.8512 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1262, allocations: 29.08 kB / 0.8512 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.1263, allocations: 104.1 kB / 0.8513 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1265, allocations: 96.2 kB / 0.8514 GB, free: 444 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1265, allocations: 16 kB / 0.8514 GB, free: 428 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.1265, allocations: 16.62 kB / 0.8514 GB, free: 412 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.1266, allocations: 43.78 kB / 0.8514 GB, free: 368 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1266, allocations: 88.19 kB / 0.8515 GB, free: 280 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1268, allocations: 203.9 kB / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1268, allocations: 0 / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1268, allocations: 0.625 kB / 0.8517 GB, free: 76 kB / 474.8 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1268, allocations: 0 / 0.8517 GB, free: 76 kB / 474.8 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.0008555/0.1277, allocations: 490.7 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1277, allocations: 12.53 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1278, allocations: 37.27 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.128, allocations: 183.1 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.128, allocations: 13.16 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.128, allocations: 24.45 kB / 0.8525 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1283, allocations: 190.9 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1283, allocations: 0 / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1283, allocations: 8.594 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1283, allocations: 0.5938 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.1285, allocations: 146.9 kB / 0.8528 GB, free: 14.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.129, allocations: 486.7 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1293, allocations: 177.2 kB / 0.8534 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1294, allocations: 95.14 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1295, allocations: 0.6875 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.1297, allocations: 233.6 kB / 0.8537 GB, free: 13.85 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.1297, allocations: 0 / 0.8537 GB, free: 13.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008901/0.1306, allocations: 0.6968 MB / 0.8544 GB, free: 13.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1306, allocations: 137.2 kB / 0.8545 GB, free: 12.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1308, allocations: 218.9 kB / 0.8548 GB, free: 12.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1308, allocations: 30.33 kB / 0.8548 GB, free: 12.67 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1309, allocations: 137 kB / 0.8549 GB, free: 12.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1309, allocations: 67.48 kB / 0.855 GB, free: 12.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.1309, allocations: 66.27 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.131, allocations: 331.3 kB / 0.8554 GB, free: 12.06 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1312, allocations: 145.6 kB / 0.8555 GB, free: 11.9 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2561/0.3872, allocations: 223.2 kB / 0.8557 GB, free: 30.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3875, allocations: 283.5 kB / 0.856 GB, free: 30.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3875, allocations: 0 / 0.856 GB, free: 30.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004047/0.3879, allocations: 386.9 kB / 0.8563 GB, free: 29.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.3879, allocations: 63.67 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3879, allocations: 2.75 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3879, allocations: 7.031 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3881, allocations: 50.58 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3881, allocations: 6.25 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3882, allocations: 21.55 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3882, allocations: 10.44 kB / 0.8565 GB, free: 29.79 MB / 490.8 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 0.0001574/0.3884, allocations: 185.8 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3884, allocations: 21.25 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3884, allocations: 25.84 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3884, allocations: 3.375 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3884, allocations: 2.062 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3884, allocations: 1.219 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.3889, allocations: 0.5345 MB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3889, allocations: 0 / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.389, allocations: 36.41 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.389, allocations: 2.156 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3891, allocations: 7.875 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3891, allocations: 3.938 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3891, allocations: 3.281 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.3895, allocations: 499 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.3895, allocations: 21.02 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.3895, allocations: 8.094 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.3896, allocations: 16.28 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3897, allocations: 24.58 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3897, allocations: 3.844 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.3898, allocations: 162.6 kB / 0.858 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 2.594 kB / 0.858 GB, free: 29.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001888/0.39, allocations: 53.62 kB / 0.8581 GB, free: 29.04 MB / 490.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 7.844e-05/0.39, allocations: 121.5 kB / 0.8582 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3904, allocations: 374.8 kB / 0.8585 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3904, allocations: 0 / 0.8585 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3905, allocations: 174.5 kB / 0.8587 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3908, allocations: 68.03 kB / 0.8588 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.3916, allocations: 0.7097 MB / 0.8595 GB, free: 28.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.3917, allocations: 123.3 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3918, allocations: 21.97 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.3918, allocations: 0.625 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of Templates: time 0.003873/0.3956, allocations: 2.95 MB / 0.8625 GB, free: 28.02 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.254309234209359]