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.0009862/0.0009862, allocations: 76.17 kB / 9.925 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002217, allocations: 451.9 kB / 10.37 MB, free: 328 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.0007046/0.0007046, allocations: 157.2 kB / 11.25 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001595, allocations: 471.7 kB / 11.71 MB, free: 2.453 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.9938/0.9938, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08646/1.08, allocations: 53.67 MB / 243.3 MB, free: 15.58 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.7491/0.7491, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03374/0.7828, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.379e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference): time 0.003206/0.00323, allocations: 2.487 MB / 0.547 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.008302, allocations: 6.692 MB / 0.5535 GB, free: 21.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.008522, allocations: 7.938 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.008636, allocations: 23.72 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.008805, allocations: 83.33 kB / 0.5536 GB, free: 21.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.008963, allocations: 59.73 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.009148, allocations: 270.6 kB / 0.5539 GB, free: 20.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.009261, allocations: 30.55 kB / 0.554 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.00945, allocations: 180.2 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.009615, allocations: 91.7 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.009642, allocations: 16 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.009665, allocations: 16 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.009691, allocations: 27.88 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.009751, allocations: 59.88 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.009911, allocations: 139.5 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.009924, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.009925, allocations: 0 / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.009938, allocations: 0 / 0.5545 GB, free: 20.39 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.000506/0.01044, allocations: 0.4976 MB / 0.555 GB, free: 19.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.01048, allocations: 15.84 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.01053, allocations: 24.92 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.01069, allocations: 187 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.01071, allocations: 8.609 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.01074, allocations: 16.38 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.0109, allocations: 163.4 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01091, allocations: 4 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.01092, allocations: 8 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.01093, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.01101, allocations: 72.7 kB / 0.5554 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.01144, allocations: 368.9 kB / 0.5558 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.01163, allocations: 108.2 kB / 0.5559 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.01167, allocations: 58.55 kB / 0.556 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.01168, allocations: 4 kB / 0.556 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.01182, allocations: 192.4 kB / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.01182, allocations: 0 / 0.5561 GB, free: 18.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004905/0.01231, allocations: 0.5121 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.01234, allocations: 170.2 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.01242, allocations: 210 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.01244, allocations: 33.7 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.01247, allocations: 120.4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.0125, allocations: 71.45 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.01255, allocations: 51.19 kB / 0.5573 GB, free: 17.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.01258, allocations: 334.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.01263, allocations: 93 kB / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.01269, allocations: 177.3 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.01278, allocations: 218.9 kB / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01278, allocations: 0 / 0.5581 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00016/0.01294, allocations: 264.2 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.01297, allocations: 55.41 kB / 0.5584 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01298, allocations: 4 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01299, allocations: 4.219 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01313, allocations: 74.64 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01314, allocations: 4 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.01321, allocations: 15.98 kB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01322, allocations: 11.94 kB / 0.5585 GB, free: 15.86 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.697e-05/0.01332, allocations: 173.5 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01334, allocations: 19.98 kB / 0.5587 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.01337, allocations: 29.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01338, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01338, allocations: 4 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.0134, allocations: 19.84 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01341, allocations: 11.92 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01343, allocations: 8 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.01348, allocations: 8 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01352, allocations: 23.95 kB / 0.5588 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001709/0.01369, allocations: 264.1 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001737/0.01386, allocations: 426.4 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2697/0.2836, allocations: 74.02 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2837, allocations: 65.45 kB / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of Backend: time 4.3e-07/0.2837, allocations: 0 / 0.5595 GB, free: 79.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.2842, allocations: 335.7 kB / 0.5599 GB, free: 79.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.005492/0.2897, allocations: 1.122 MB / 0.561 GB, free: 78.54 MB / 410.8 MB Notification: Performance of Templates: time 0.006345/0.296, allocations: 3.855 MB / 0.5647 GB, free: 78.41 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.72487567178905]