Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_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.001039/0.001039, allocations: 104.3 kB / 19.71 MB, free: 440 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.00107/0.00107, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.9471/0.9471, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.6833/0.6833, allocations: 312.3 MB / 0.6108 GB, free: 97.48 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.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_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.001446/0.001446, allocations: 69.11 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 73.99 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference): time 0.002701/0.1215, allocations: 2.699 MB / 0.8448 GB, free: 7.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1266, allocations: 6.606 MB / 0.8512 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1268, allocations: 8.438 kB / 0.8512 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.1269, allocations: 36.23 kB / 0.8513 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1271, allocations: 120.2 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1274, allocations: 76.62 kB / 0.8514 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.1276, allocations: 374.1 kB / 0.8518 GB, free: 372 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.1278, allocations: 53.39 kB / 0.8519 GB, free: 320 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1279, allocations: 136.2 kB / 0.852 GB, free: 184 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1281, allocations: 143.9 kB / 0.8521 GB, free: 40 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1281, allocations: 27.94 kB / 0.8521 GB, free: 12 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.1282, allocations: 24.64 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.1282, allocations: 60.16 kB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.1283, allocations: 131.4 kB / 0.8524 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1285, allocations: 294.2 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1285, allocations: 0.6875 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1285, allocations: 0 / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1285, allocations: 0.6562 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007376/0.1293, allocations: 0.5981 MB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1293, allocations: 12.02 kB / 0.8532 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.1294, allocations: 33.44 kB / 0.8533 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1296, allocations: 213.1 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1296, allocations: 13.38 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.1296, allocations: 28.66 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.13, allocations: 288.5 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.13, allocations: 7.891 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.13, allocations: 8.531 kB / 0.8538 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.13, allocations: 4.5 kB / 0.8538 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.1302, allocations: 233 kB / 0.854 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.131, allocations: 0.6738 MB / 0.8547 GB, free: 13.27 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1313, allocations: 232.5 kB / 0.8549 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.1315, allocations: 157 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1315, allocations: 4.594 kB / 0.8551 GB, free: 12.85 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1318, allocations: 356.5 kB / 0.8554 GB, free: 12.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.1318, allocations: 0.5 kB / 0.8554 GB, free: 12.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2393/0.3711, allocations: 1.075 MB / 0.8564 GB, free: 21.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3711, allocations: 221.2 kB / 0.8567 GB, free: 21.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3713, allocations: 248.5 kB / 0.8569 GB, free: 20.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3713, allocations: 38.11 kB / 0.8569 GB, free: 20.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.3714, allocations: 158.8 kB / 0.8571 GB, free: 20.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.3715, allocations: 113.2 kB / 0.8572 GB, free: 20.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.3715, allocations: 75.05 kB / 0.8573 GB, free: 20.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.3716, allocations: 343.6 kB / 0.8576 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3718, allocations: 211.1 kB / 0.8578 GB, free: 20.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.372, allocations: 313.8 kB / 0.8581 GB, free: 20.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3723, allocations: 443.7 kB / 0.8585 GB, free: 19.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3723, allocations: 2.844 kB / 0.8585 GB, free: 19.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004638/0.3728, allocations: 0.5449 MB / 0.859 GB, free: 19.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.3728, allocations: 92.72 kB / 0.8591 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3728, allocations: 4.438 kB / 0.8591 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3728, allocations: 3.625 kB / 0.8591 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.373, allocations: 81.48 kB / 0.8592 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.373, allocations: 5.469 kB / 0.8592 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3731, allocations: 24.84 kB / 0.8593 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3732, allocations: 18 kB / 0.8593 GB, free: 19.52 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001946/0.3734, allocations: 239 kB / 0.8595 GB, free: 19.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.3734, allocations: 32.47 kB / 0.8595 GB, free: 19.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.3734, allocations: 36.56 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3734, allocations: 3.344 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3734, allocations: 0.5938 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3734, allocations: 4.125 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.3741, allocations: 0.7583 MB / 0.8603 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3741, allocations: 0 / 0.8603 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3743, allocations: 61.08 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3743, allocations: 0 / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3743, allocations: 9.422 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3743, allocations: 1.75 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3743, allocations: 4.688 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.3749, allocations: 0.7266 MB / 0.8611 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.3749, allocations: 19.88 kB / 0.8611 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3749, allocations: 14.03 kB / 0.8611 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.375, allocations: 20.73 kB / 0.8611 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.3751, allocations: 30.38 kB / 0.8612 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3751, allocations: 12.73 kB / 0.8612 GB, free: 18.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3752, allocations: 180.5 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3752, allocations: 0 / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002278/0.3755, allocations: 87.38 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,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 (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001115/0.3756, allocations: 125.7 kB / 0.8616 GB, free: 18.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.376, allocations: 0.5664 MB / 0.8621 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.376, allocations: 0.625 kB / 0.8621 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3762, allocations: 300.2 kB / 0.8624 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3766, allocations: 87.75 kB / 0.8625 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3778, allocations: 0.9721 MB / 0.8634 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3779, allocations: 161.8 kB / 0.8636 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.378, allocations: 28.98 kB / 0.8636 GB, free: 17.29 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.378, allocations: 0 / 0.8636 GB, free: 17.29 MB / 490.8 MB Notification: Performance of Templates: time 0.007569/0.3856, allocations: 4.016 MB / 0.8675 GB, free: 16.93 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_Ber2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.175022829324007]