Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.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.001315/0.001315, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002733, 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.001095/0.001095, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002453, 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.9662/0.9662, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09362/1.06, allocations: 53.66 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.7682/0.7682, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02858/0.7968, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.797e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide): time 0.004185/0.004213, allocations: 3.315 MB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006736/0.01095, allocations: 6.793 MB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.01118, allocations: 4 kB / 0.5545 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.826e-05/0.01127, allocations: 47.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.01149, allocations: 134.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.01166, allocations: 87.83 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.01193, allocations: 433.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.01205, allocations: 67.38 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.01228, allocations: 266.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.01246, allocations: 127.6 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.01249, allocations: 36 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.01252, allocations: 32 kB / 0.5556 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.01256, allocations: 51.8 kB / 0.5557 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.01263, allocations: 103.8 kB / 0.5558 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.01284, allocations: 227.2 kB / 0.556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.01285, allocations: 0 / 0.556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01285, allocations: 0 / 0.556 GB, free: 18.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.01286, allocations: 0 / 0.556 GB, free: 18.8 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.0006018/0.01346, allocations: 0.6434 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.0135, allocations: 11.89 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.01355, allocations: 40.91 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.01371, allocations: 197.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.01373, allocations: 20.88 kB / 0.5569 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.01376, allocations: 20.33 kB / 0.5569 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.01396, allocations: 254.1 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01397, allocations: 0 / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.01399, allocations: 12 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01399, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.0141, allocations: 142.6 kB / 0.5573 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.0146, allocations: 473.9 kB / 0.5578 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.0148, allocations: 168.1 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.01486, allocations: 111.1 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.01487, allocations: 15.86 kB / 0.558 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.01504, allocations: 327.3 kB / 0.5584 GB, free: 16.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.01504, allocations: 0 / 0.5584 GB, free: 16.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007225/0.01576, allocations: 0.8307 MB / 0.5592 GB, free: 15.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.0158, allocations: 277 kB / 0.5594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2362/0.252, allocations: 232.7 kB / 0.5596 GB, free: 78.65 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.252, allocations: 39.7 kB / 0.5597 GB, free: 78.62 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.2521, allocations: 136 kB / 0.5598 GB, free: 78.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.2522, allocations: 120.5 kB / 0.5599 GB, free: 78.5 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.2523, allocations: 72.66 kB / 0.56 GB, free: 78.48 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.2523, allocations: 356.2 kB / 0.5603 GB, free: 78.17 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2524, allocations: 142.8 kB / 0.5605 GB, free: 78.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2525, allocations: 248 kB / 0.5607 GB, free: 77.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2527, allocations: 335.9 kB / 0.561 GB, free: 77.59 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2527, allocations: 2.656 kB / 0.561 GB, free: 77.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002921/0.253, allocations: 390 kB / 0.5614 GB, free: 77.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.2531, allocations: 92.25 kB / 0.5615 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2531, allocations: 4.594 kB / 0.5615 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2531, allocations: 5.281 kB / 0.5615 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2534, allocations: 113.2 kB / 0.5616 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2534, allocations: 5.859 kB / 0.5616 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.2536, allocations: 23.14 kB / 0.5616 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.2536, allocations: 13.69 kB / 0.5617 GB, free: 77.27 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.0001598/0.2537, allocations: 215.3 kB / 0.5619 GB, free: 77.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2538, allocations: 38.8 kB / 0.5619 GB, free: 77.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.2538, allocations: 35.14 kB / 0.5619 GB, free: 77.09 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2538, allocations: 3.516 kB / 0.5619 GB, free: 77.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2538, allocations: 0.6094 kB / 0.5619 GB, free: 77.09 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.2539, allocations: 37.53 kB / 0.562 GB, free: 77.07 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2539, allocations: 9.25 kB / 0.562 GB, free: 77.07 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.254, allocations: 18.41 kB / 0.562 GB, free: 77.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.2541, allocations: 14.66 kB / 0.562 GB, free: 77.07 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.2541, allocations: 26.58 kB / 0.562 GB, free: 77.07 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003703/0.2545, allocations: 395.9 kB / 0.5624 GB, free: 76.84 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003862/0.2549, allocations: 0.6029 MB / 0.563 GB, free: 76.44 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000119/0.255, allocations: 147.5 kB / 0.5631 GB, free: 76.37 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.2551, allocations: 85.31 kB / 0.5632 GB, free: 76.36 MB / 410.8 MB Notification: Performance of Backend: time 3.11e-07/0.2551, allocations: 0.875 kB / 0.5632 GB, free: 76.36 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.2555, allocations: 481.1 kB / 0.5637 GB, free: 76.02 MB / 410.8 MB Notification: Performance of SimCode: time 0.007654/0.2632, allocations: 1.36 MB / 0.565 GB, free: 75.06 MB / 410.8 MB Notification: Performance of Templates: time 0.007999/0.2712, allocations: 5.545 MB / 0.5704 GB, free: 73.92 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX18_Lacosamide.Lacosamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6758561031892896]