Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_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.001023/0.001023, allocations: 104.4 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.001062/0.001062, allocations: 220.4 kB / 23.01 MB, free: 2.938 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.045/1.045, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.6977/0.6977, allocations: 312.3 MB / 0.6108 GB, free: 97.73 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.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_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.00139/0.00139, allocations: 69.39 kB / 0.7699 GB, free: 20.25 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 73.99 MB / 0.8422 GB, free: 10.38 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference): time 0.002661/0.1098, allocations: 2.694 MB / 0.8448 GB, free: 7.691 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.1145, allocations: 6.61 MB / 0.8513 GB, free: 1.082 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1147, allocations: 8.531 kB / 0.8513 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1148, allocations: 39.62 kB / 0.8513 GB, free: 1.035 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.115, allocations: 120.2 kB / 0.8514 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1152, allocations: 69.05 kB / 0.8515 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1155, allocations: 378.1 kB / 0.8518 GB, free: 492 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1156, allocations: 57.44 kB / 0.8519 GB, free: 436 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1157, allocations: 140.1 kB / 0.852 GB, free: 296 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1159, allocations: 144 kB / 0.8522 GB, free: 152 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1159, allocations: 24 kB / 0.8522 GB, free: 128 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.116, allocations: 24.62 kB / 0.8522 GB, free: 104 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.116, allocations: 55.72 kB / 0.8523 GB, free: 48 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1161, allocations: 136.1 kB / 0.8524 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1163, allocations: 290.2 kB / 0.8527 GB, free: 15.63 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1163, allocations: 4 kB / 0.8527 GB, free: 15.62 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1163, allocations: 0.5312 kB / 0.8527 GB, free: 15.62 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1164, allocations: 0.5625 kB / 0.8527 GB, free: 15.62 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.0007557/0.1171, allocations: 0.594 MB / 0.8533 GB, free: 14.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1171, allocations: 16.62 kB / 0.8533 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1172, allocations: 32.75 kB / 0.8533 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1174, allocations: 209.6 kB / 0.8535 GB, free: 14.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1174, allocations: 17.38 kB / 0.8535 GB, free: 14.69 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.1175, allocations: 23.94 kB / 0.8536 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.1178, allocations: 288.5 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1178, allocations: 4.578 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1178, allocations: 12.5 kB / 0.8538 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1178, allocations: 7.938 kB / 0.8538 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1181, allocations: 233.5 kB / 0.8541 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.1189, allocations: 0.6739 MB / 0.8547 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.1192, allocations: 243.3 kB / 0.855 GB, free: 13.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1194, allocations: 153.1 kB / 0.8551 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1194, allocations: 0 / 0.8551 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.1197, allocations: 351.9 kB / 0.8554 GB, free: 12.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.1197, allocations: 0.6562 kB / 0.8554 GB, free: 12.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2291/0.3488, allocations: 1.078 MB / 0.8565 GB, free: 30.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3488, allocations: 218.7 kB / 0.8567 GB, free: 30.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.349, allocations: 255.2 kB / 0.8569 GB, free: 30.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3491, allocations: 35.2 kB / 0.857 GB, free: 30.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.3491, allocations: 162.2 kB / 0.8571 GB, free: 30.04 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3492, allocations: 114.2 kB / 0.8572 GB, free: 29.97 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.3493, allocations: 72.28 kB / 0.8573 GB, free: 29.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.3493, allocations: 344.6 kB / 0.8576 GB, free: 29.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3495, allocations: 208.2 kB / 0.8578 GB, free: 29.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3497, allocations: 310.8 kB / 0.8581 GB, free: 29.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.35, allocations: 442 kB / 0.8586 GB, free: 29.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.35, allocations: 3.125 kB / 0.8586 GB, free: 29.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004443/0.3504, allocations: 0.5502 MB / 0.8591 GB, free: 28.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.3505, allocations: 88.33 kB / 0.8592 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3505, allocations: 4.922 kB / 0.8592 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3505, allocations: 6.844 kB / 0.8592 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3506, allocations: 79.75 kB / 0.8593 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3507, allocations: 7.094 kB / 0.8593 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.3508, allocations: 22.78 kB / 0.8593 GB, free: 28.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3508, allocations: 19.06 kB / 0.8593 GB, free: 28.71 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.0001538/0.3509, allocations: 221.5 kB / 0.8595 GB, free: 28.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.351, allocations: 35.53 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.351, allocations: 28.2 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.351, allocations: 5.406 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.351, allocations: 7.188 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.351, allocations: 1.641 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.3516, allocations: 0.7732 MB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3516, allocations: 3.328 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3518, allocations: 50.3 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3518, allocations: 4.531 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3518, allocations: 8.734 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3518, allocations: 5.438 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3518, allocations: 0.5625 kB / 0.8604 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.3523, allocations: 0.7262 MB / 0.8611 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3524, allocations: 28.94 kB / 0.8612 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3524, allocations: 10.34 kB / 0.8612 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.3525, allocations: 18.77 kB / 0.8612 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.3526, allocations: 31.27 kB / 0.8612 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3526, allocations: 12.03 kB / 0.8612 GB, free: 27.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.3527, allocations: 176.9 kB / 0.8614 GB, free: 27.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3527, allocations: 0.5625 kB / 0.8614 GB, free: 27.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002171/0.3529, allocations: 85.03 kB / 0.8615 GB, free: 27.69 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 8.448e-05/0.353, allocations: 127.7 kB / 0.8616 GB, free: 27.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.3534, allocations: 0.5635 MB / 0.8622 GB, free: 27.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3534, allocations: 5.375 kB / 0.8622 GB, free: 27.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3536, allocations: 299.9 kB / 0.8624 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3539, allocations: 88.81 kB / 0.8625 GB, free: 27.04 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3549, allocations: 0.9585 MB / 0.8635 GB, free: 26.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.3551, allocations: 159.3 kB / 0.8636 GB, free: 26.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.3551, allocations: 32.45 kB / 0.8637 GB, free: 26.48 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.3551, allocations: 0 / 0.8637 GB, free: 26.48 MB / 490.8 MB Notification: Performance of Templates: time 0.005563/0.3607, allocations: 4.02 MB / 0.8676 GB, free: 26.12 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Bouillon2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.320713337510824]