Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_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.0007257/0.0007257, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.001639, 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.0006878/0.0006878, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008698/0.001558, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1072/1.144, 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.7828/0.7828, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03491/0.8177, 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.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.594e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference): time 0.003581/0.003607, allocations: 2.502 MB / 0.547 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.0112, allocations: 6.692 MB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.01152, allocations: 3.938 kB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.01166, allocations: 23.72 kB / 0.5535 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.01196, allocations: 87.31 kB / 0.5536 GB, free: 21.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.01221, allocations: 55.81 kB / 0.5536 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.01254, allocations: 266.6 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.0127, allocations: 38.48 kB / 0.5539 GB, free: 20.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.01302, allocations: 184.2 kB / 0.5541 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.01324, allocations: 87.72 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.01328, allocations: 16 kB / 0.5542 GB, free: 20.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-05/0.01332, allocations: 16 kB / 0.5542 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.01336, allocations: 27.88 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.01345, allocations: 63.88 kB / 0.5543 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.01373, allocations: 139.5 kB / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.01375, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01375, allocations: 0 / 0.5545 GB, free: 20.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.01377, allocations: 0 / 0.5545 GB, free: 20.2 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008238/0.01459, allocations: 0.4976 MB / 0.5549 GB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01464, allocations: 11.89 kB / 0.5549 GB, free: 19.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.01471, allocations: 24.92 kB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.01494, allocations: 183 kB / 0.5551 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01497, allocations: 8.609 kB / 0.5552 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.01501, allocations: 20.36 kB / 0.5552 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.01526, allocations: 155.5 kB / 0.5553 GB, free: 19.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.01527, allocations: 7.984 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.01529, allocations: 0 / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.0153, allocations: 4 kB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01542, allocations: 80.64 kB / 0.5554 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.01601, allocations: 357 kB / 0.5558 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.01627, allocations: 108.2 kB / 0.5559 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.01634, allocations: 62.53 kB / 0.5559 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.01635, allocations: 8 kB / 0.5559 GB, free: 18.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.01657, allocations: 199.1 kB / 0.5561 GB, free: 18.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.336e-06/0.01658, allocations: 0 / 0.5561 GB, free: 18.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008632/0.01744, allocations: 0.5132 MB / 0.5566 GB, free: 17.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.01748, allocations: 158.2 kB / 0.5568 GB, free: 17.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01763, allocations: 210 kB / 0.557 GB, free: 17.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.01764, allocations: 29.7 kB / 0.557 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.0177, allocations: 128.4 kB / 0.5571 GB, free: 17.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.01776, allocations: 59.48 kB / 0.5572 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.01783, allocations: 55.17 kB / 0.5572 GB, free: 17.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.01788, allocations: 334.8 kB / 0.5575 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.01796, allocations: 101 kB / 0.5576 GB, free: 16.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.01805, allocations: 169.3 kB / 0.5578 GB, free: 16.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.0182, allocations: 225.5 kB / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.0182, allocations: 0 / 0.558 GB, free: 16.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001702/0.01837, allocations: 260.2 kB / 0.5583 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.01842, allocations: 67.39 kB / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01843, allocations: 0 / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01844, allocations: 4.219 kB / 0.5583 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.01863, allocations: 65.88 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01864, allocations: 4 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.01872, allocations: 15.98 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01873, allocations: 15.94 kB / 0.5584 GB, free: 15.68 MB / 410.7 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001323/0.01886, allocations: 171.6 kB / 0.5586 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.01889, allocations: 23.97 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.01892, allocations: 25.97 kB / 0.5586 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01893, allocations: 3.938 kB / 0.5586 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01893, allocations: 0 / 0.5586 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01895, allocations: 19.84 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01896, allocations: 11.94 kB / 0.5587 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01899, allocations: 8 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.01905, allocations: 11.98 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.0191, allocations: 15.97 kB / 0.5587 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001938/0.01929, allocations: 275 kB / 0.559 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3209/0.3402, allocations: 419 kB / 0.5594 GB, free: 79.3 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001058/0.3403, allocations: 78.95 kB / 0.5594 GB, free: 79.26 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.3404, allocations: 65.23 kB / 0.5595 GB, free: 79.25 MB / 410.8 MB Notification: Performance of Backend: time 8.22e-07/0.3404, allocations: 0 / 0.5595 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.341, allocations: 337.4 kB / 0.5598 GB, free: 79.02 MB / 410.8 MB Notification: Performance of SimCode: time 0.005666/0.3466, allocations: 1.119 MB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of Templates: time 0.007333/0.354, allocations: 3.864 MB / 0.5647 GB, free: 78.04 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.747571149840951]