Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.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.0007183/0.0007183, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000902/0.00162, 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.000702/0.000702, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009036/0.001606, 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 1.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.229, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7237/0.7237, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02765/0.7513, 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.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.44e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.849e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine): time 0.003582/0.003601, allocations: 3.32 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006271/0.009871, allocations: 6.801 MB / 0.5545 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.01007, allocations: 0 / 0.5545 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.01018, allocations: 43.58 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.01046, allocations: 131 kB / 0.5546 GB, free: 20.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.0107, allocations: 83.78 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.01116, allocations: 441.8 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.01135, allocations: 71.36 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.01171, allocations: 262.5 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.01197, allocations: 127.6 kB / 0.5556 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.01202, allocations: 32 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.01207, allocations: 32 kB / 0.5556 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.01213, allocations: 51.81 kB / 0.5557 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.01225, allocations: 103.8 kB / 0.5558 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.01256, allocations: 227.2 kB / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.01257, allocations: 3.938 kB / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01257, allocations: 0 / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.01259, allocations: 0 / 0.556 GB, free: 18.82 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.0009097/0.0135, allocations: 0.6395 MB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.01354, allocations: 11.89 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.01362, allocations: 44.91 kB / 0.5567 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.01386, allocations: 193.5 kB / 0.5569 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.01389, allocations: 20.86 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.01393, allocations: 24.33 kB / 0.5569 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.01421, allocations: 242.2 kB / 0.5571 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01423, allocations: 7.984 kB / 0.5571 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01425, allocations: 8 kB / 0.5572 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.01425, allocations: 11.94 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.01441, allocations: 134.6 kB / 0.5573 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.0151, allocations: 477.9 kB / 0.5577 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.01538, allocations: 172.1 kB / 0.5579 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.01547, allocations: 103.2 kB / 0.558 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01548, allocations: 11.88 kB / 0.558 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.01572, allocations: 334.5 kB / 0.5583 GB, free: 16.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.073e-06/0.01572, allocations: 0 / 0.5583 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009955/0.01672, allocations: 0.8385 MB / 0.5592 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.01677, allocations: 273 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3043/0.3211, allocations: 228.9 kB / 0.5596 GB, free: 80 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/0.3212, allocations: 36.8 kB / 0.5597 GB, free: 79.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.3212, allocations: 141.1 kB / 0.5598 GB, free: 79.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.3213, allocations: 121 kB / 0.5599 GB, free: 79.85 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.3214, allocations: 74.03 kB / 0.56 GB, free: 79.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.3215, allocations: 349.1 kB / 0.5603 GB, free: 79.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3216, allocations: 143.9 kB / 0.5605 GB, free: 79.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3217, allocations: 250.2 kB / 0.5607 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.3219, allocations: 342.5 kB / 0.561 GB, free: 78.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.322, allocations: 1.969 kB / 0.561 GB, free: 78.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003364/0.3223, allocations: 389.2 kB / 0.5614 GB, free: 78.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.3223, allocations: 88.56 kB / 0.5615 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3224, allocations: 3.438 kB / 0.5615 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3224, allocations: 6.031 kB / 0.5615 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.3227, allocations: 115.1 kB / 0.5616 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3228, allocations: 4.906 kB / 0.5616 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3229, allocations: 20.45 kB / 0.5616 GB, free: 78.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3229, allocations: 15.91 kB / 0.5616 GB, free: 78.62 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.000208/0.3231, allocations: 211.7 kB / 0.5618 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3232, allocations: 38.73 kB / 0.5619 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.3232, allocations: 32.28 kB / 0.5619 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3232, allocations: 3.516 kB / 0.5619 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3232, allocations: 2.188 kB / 0.5619 GB, free: 78.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.3233, allocations: 32.66 kB / 0.562 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3234, allocations: 13.62 kB / 0.562 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.3234, allocations: 12.92 kB / 0.562 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.3235, allocations: 15.91 kB / 0.562 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.3236, allocations: 36.14 kB / 0.562 GB, free: 78.43 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004022/0.324, allocations: 394.3 kB / 0.5624 GB, free: 78.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000419/0.3244, allocations: 0.6041 MB / 0.563 GB, free: 77.79 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001298/0.3245, allocations: 148.5 kB / 0.5631 GB, free: 77.72 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.3246, allocations: 82.84 kB / 0.5632 GB, free: 77.71 MB / 410.8 MB Notification: Performance of Backend: time 3.6e-07/0.3246, allocations: 1.094 kB / 0.5632 GB, free: 77.71 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.3251, allocations: 488 kB / 0.5637 GB, free: 77.37 MB / 410.8 MB Notification: Performance of SimCode: time 0.007867/0.333, allocations: 1.36 MB / 0.565 GB, free: 76.41 MB / 410.8 MB Notification: Performance of Templates: time 0.008891/0.3419, allocations: 5.547 MB / 0.5704 GB, free: 75.22 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01B_AnestheticsLocal.N01BB10_Levobupivacaine.Levobupivacaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.839461657218635]