Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.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.0007831/0.0007831, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009278/0.001711, 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.0006876/0.0006876, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000881/0.001569, 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.068/1.068, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.178, 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.7855/0.7855, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02918/0.8147, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.5446 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.832e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine): time 0.003521/0.003549, allocations: 2.506 MB / 0.547 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.009895, allocations: 6.692 MB / 0.5536 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.0101, allocations: 7.938 kB / 0.5536 GB, free: 20.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.01021, allocations: 27.7 kB / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.01044, allocations: 83.33 kB / 0.5537 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.01064, allocations: 55.81 kB / 0.5537 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.01092, allocations: 266.6 kB / 0.554 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.01107, allocations: 46.52 kB / 0.554 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.01132, allocations: 180.2 kB / 0.5542 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.01153, allocations: 83.72 kB / 0.5543 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.01156, allocations: 20 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.01159, allocations: 16 kB / 0.5543 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.01162, allocations: 27.88 kB / 0.5543 GB, free: 20.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.01167, allocations: 59.88 kB / 0.5544 GB, free: 20 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.01186, allocations: 139.5 kB / 0.5545 GB, free: 19.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.01187, allocations: 0 / 0.5545 GB, free: 19.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01187, allocations: 0 / 0.5545 GB, free: 19.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.01189, allocations: 4 kB / 0.5545 GB, free: 19.86 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.0006736/0.01256, allocations: 0.4975 MB / 0.555 GB, free: 19.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.0126, allocations: 11.89 kB / 0.555 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.01267, allocations: 28.91 kB / 0.5551 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.01286, allocations: 179 kB / 0.5552 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.01288, allocations: 12.61 kB / 0.5552 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.01291, allocations: 12.38 kB / 0.5553 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01314, allocations: 163.4 kB / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01316, allocations: 3.984 kB / 0.5554 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.01317, allocations: 8 kB / 0.5554 GB, free: 18.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01318, allocations: 4 kB / 0.5554 GB, free: 18.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.01329, allocations: 76.69 kB / 0.5555 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.0139, allocations: 372.9 kB / 0.5559 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.01415, allocations: 108.1 kB / 0.556 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.01419, allocations: 58.55 kB / 0.556 GB, free: 18.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.0142, allocations: 4 kB / 0.556 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.01443, allocations: 187.4 kB / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.366e-06/0.01443, allocations: 0 / 0.5562 GB, free: 18 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007733/0.0152, allocations: 0.5132 MB / 0.5567 GB, free: 17.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.01525, allocations: 166.2 kB / 0.5569 GB, free: 17.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.0155, allocations: 202 kB / 0.5571 GB, free: 17.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.01554, allocations: 37.7 kB / 0.5571 GB, free: 16.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.0156, allocations: 120.4 kB / 0.5572 GB, free: 16.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.01565, allocations: 71.47 kB / 0.5573 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.0157, allocations: 55.17 kB / 0.5573 GB, free: 16.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.01575, allocations: 334.8 kB / 0.5576 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.01581, allocations: 93 kB / 0.5577 GB, free: 16.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.01589, allocations: 177.3 kB / 0.5579 GB, free: 16.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.016, allocations: 215.7 kB / 0.5581 GB, free: 15.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.016, allocations: 0 / 0.5581 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001688/0.01617, allocations: 262.7 kB / 0.5584 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.01621, allocations: 63.39 kB / 0.5584 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.01623, allocations: 4 kB / 0.5584 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.01625, allocations: 8.219 kB / 0.5584 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.01645, allocations: 63.89 kB / 0.5585 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01645, allocations: 4 kB / 0.5585 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.01653, allocations: 12 kB / 0.5585 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01655, allocations: 19.92 kB / 0.5585 GB, free: 15.34 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.000127/0.01668, allocations: 168.4 kB / 0.5587 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.0167, allocations: 27.97 kB / 0.5587 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.01673, allocations: 17.97 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01674, allocations: 3.984 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01674, allocations: 4 kB / 0.5587 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01676, allocations: 15.86 kB / 0.5588 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01678, allocations: 11.94 kB / 0.5588 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.0168, allocations: 4 kB / 0.5588 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.01686, allocations: 19.23 kB / 0.5588 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.01692, allocations: 19.91 kB / 0.5588 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001981/0.01711, allocations: 272.2 kB / 0.5591 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2914/0.3085, allocations: 414.5 kB / 0.5595 GB, free: 79.4 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.994e-05/0.3086, allocations: 84.48 kB / 0.5595 GB, free: 79.36 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.3087, allocations: 62.17 kB / 0.5596 GB, free: 79.35 MB / 410.8 MB Notification: Performance of Backend: time 3.21e-07/0.3087, allocations: 0 / 0.5596 GB, free: 79.35 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.3093, allocations: 334.3 kB / 0.5599 GB, free: 79.11 MB / 410.8 MB Notification: Performance of SimCode: time 0.005839/0.3151, allocations: 1.12 MB / 0.561 GB, free: 78.3 MB / 410.8 MB Notification: Performance of Templates: time 0.00823/0.3234, allocations: 3.86 MB / 0.5648 GB, free: 78.12 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.758272868581116]