Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.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.001007/0.001007, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002359, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007322/0.0007322, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00091/0.001642, allocations: 475.7 kB / 11.72 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.9996/0.9996, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.108, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7404/0.7404, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03562/0.776, allocations: 21.05 MB / 0.5431 GB, free: 31.79 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.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.917e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine): time 0.00281/0.002829, allocations: 3.32 MB / 0.5478 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.007001, allocations: 6.801 MB / 0.5544 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.007177, allocations: 7.938 kB / 0.5544 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.799e-05/0.007265, allocations: 39.56 kB / 0.5545 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.007461, allocations: 134.9 kB / 0.5546 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.007638, allocations: 83.84 kB / 0.5547 GB, free: 19.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.007886, allocations: 437.8 kB / 0.5551 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.008015, allocations: 71.36 kB / 0.5552 GB, free: 19.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.008223, allocations: 262.5 kB / 0.5554 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.008391, allocations: 127.6 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.008423, allocations: 32 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.974e-05/0.008453, allocations: 32 kB / 0.5556 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.008487, allocations: 51.81 kB / 0.5556 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.008563, allocations: 103.8 kB / 0.5557 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.008759, allocations: 227.2 kB / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.008771, allocations: 0 / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008772, allocations: 0 / 0.556 GB, free: 18.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.008786, allocations: 0 / 0.556 GB, free: 18.65 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006346/0.00942, allocations: 0.6395 MB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.009452, allocations: 15.89 kB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.009505, allocations: 44.89 kB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.009671, allocations: 193.5 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.00969, allocations: 16.88 kB / 0.5568 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.00972, allocations: 24.33 kB / 0.5569 GB, free: 17.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.00992, allocations: 250.1 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009933, allocations: 3.984 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.009947, allocations: 12 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.009953, allocations: 4 kB / 0.5571 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.01007, allocations: 142.6 kB / 0.5573 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.01056, allocations: 469.9 kB / 0.5577 GB, free: 16.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.01077, allocations: 176 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.01082, allocations: 103.2 kB / 0.558 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.01083, allocations: 11.94 kB / 0.558 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.01103, allocations: 323.4 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.01103, allocations: 7.938 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007834/0.01181, allocations: 0.8307 MB / 0.5591 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2586/0.2704, allocations: 274.9 kB / 0.5594 GB, free: 78.41 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2707, allocations: 230.7 kB / 0.5596 GB, free: 78.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.2708, allocations: 35.58 kB / 0.5596 GB, free: 78.27 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.2708, allocations: 142 kB / 0.5598 GB, free: 78.19 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.2709, allocations: 122.1 kB / 0.5599 GB, free: 78.15 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.271, allocations: 72.89 kB / 0.5599 GB, free: 78.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.271, allocations: 346.8 kB / 0.5603 GB, free: 77.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2711, allocations: 149.2 kB / 0.5604 GB, free: 77.72 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2712, allocations: 246.5 kB / 0.5607 GB, free: 77.49 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.2714, allocations: 342.1 kB / 0.561 GB, free: 77.24 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2714, allocations: 1.844 kB / 0.561 GB, free: 77.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002987/0.2717, allocations: 392.4 kB / 0.5614 GB, free: 77.02 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.2718, allocations: 93.84 kB / 0.5614 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.2718, allocations: 3.562 kB / 0.5615 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2718, allocations: 4.562 kB / 0.5615 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2721, allocations: 107.4 kB / 0.5616 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2721, allocations: 9.234 kB / 0.5616 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2722, allocations: 20.8 kB / 0.5616 GB, free: 76.92 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2723, allocations: 16.55 kB / 0.5616 GB, free: 76.92 MB / 410.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 periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0002006/0.2725, allocations: 215.3 kB / 0.5618 GB, free: 76.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.2725, allocations: 39.83 kB / 0.5618 GB, free: 76.74 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.2726, allocations: 31.83 kB / 0.5619 GB, free: 76.74 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2726, allocations: 4.781 kB / 0.5619 GB, free: 76.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2726, allocations: 0 / 0.5619 GB, free: 76.74 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.2727, allocations: 36.92 kB / 0.5619 GB, free: 76.72 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2727, allocations: 8.844 kB / 0.5619 GB, free: 76.72 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.2727, allocations: 16.12 kB / 0.5619 GB, free: 76.72 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2729, allocations: 15.25 kB / 0.562 GB, free: 76.72 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.273, allocations: 33.12 kB / 0.562 GB, free: 76.72 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004903/0.2735, allocations: 394.8 kB / 0.5624 GB, free: 76.49 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005679/0.274, allocations: 0.6019 MB / 0.5629 GB, free: 76.09 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001542/0.2742, allocations: 149.9 kB / 0.5631 GB, free: 76.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2743, allocations: 82.61 kB / 0.5632 GB, free: 76 MB / 410.8 MB Notification: Performance of Backend: time 7.01e-07/0.2743, allocations: 1.25 kB / 0.5632 GB, free: 76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.2749, allocations: 482.1 kB / 0.5636 GB, free: 75.66 MB / 410.8 MB Notification: Performance of SimCode: time 0.007735/0.2826, allocations: 1.361 MB / 0.565 GB, free: 74.71 MB / 410.8 MB Notification: Performance of Templates: time 0.00871/0.2914, allocations: 5.547 MB / 0.5704 GB, free: 73.53 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB01_Bupivacaine.Bupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7930657165125012]