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.0008738/0.0008738, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003768/0.004642, allocations: 435.8 kB / 10.33 MB, free: 364 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.0008882/0.0008882, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.002025, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.09/1.09, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.194, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7882/0.7882, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03696/0.8252, allocations: 21.04 MB / 0.5431 GB, free: 31.98 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.222e-06/1.222e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.968e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine): time 0.002387/0.002406, allocations: 2.503 MB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.007408, allocations: 6.692 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.007598, allocations: 0 / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.007687, allocations: 23.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.007858, allocations: 91.25 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.008047, allocations: 55.81 kB / 0.5537 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.00827, allocations: 266.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.00839, allocations: 38.53 kB / 0.554 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.008591, allocations: 188.1 kB / 0.5541 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.008767, allocations: 83.78 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.008793, allocations: 16 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.008815, allocations: 16 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.008844, allocations: 27.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.008905, allocations: 63.88 kB / 0.5543 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.009076, allocations: 131.5 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.009089, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00909, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.009103, allocations: 4 kB / 0.5545 GB, free: 20.35 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.0005104/0.009613, allocations: 0.5015 MB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.00964, allocations: 15.83 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.00968, allocations: 20.92 kB / 0.555 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.009828, allocations: 183 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.009843, allocations: 8.609 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.009863, allocations: 16.36 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.01002, allocations: 163.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01003, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.01004, allocations: 4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.01004, allocations: 4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.01012, allocations: 80.7 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.01047, allocations: 361 kB / 0.5558 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.01063, allocations: 116 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.01066, allocations: 65.86 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.01067, allocations: 4 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.01082, allocations: 188.4 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.01082, allocations: 0 / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005083/0.01133, allocations: 0.5038 MB / 0.5566 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.01137, allocations: 140.5 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.01146, allocations: 210 kB / 0.557 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.01147, allocations: 33.7 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.01151, allocations: 120.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.01154, allocations: 67.45 kB / 0.5572 GB, free: 17.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.01159, allocations: 51.19 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.01163, allocations: 334.8 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.01167, allocations: 108.9 kB / 0.5576 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.01175, allocations: 165.4 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.01185, allocations: 215.7 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01185, allocations: 0 / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001403/0.01199, allocations: 266 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.01202, allocations: 63.41 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01203, allocations: 2.656 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.01204, allocations: 8.219 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.0122, allocations: 63.89 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.0122, allocations: 4 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.01228, allocations: 19.92 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01229, allocations: 12 kB / 0.5584 GB, free: 15.86 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.0001043/0.01239, allocations: 169.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.01241, allocations: 19.98 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.01244, allocations: 29.95 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01244, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01245, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01245, allocations: 4 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.01269, allocations: 370.2 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.0127, allocations: 7.922 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.01281, allocations: 47.09 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01283, allocations: 15.86 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.01284, allocations: 4 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01285, allocations: 8 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01285, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01285, allocations: 4 kB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01302, allocations: 348.2 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01304, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2936/0.3066, allocations: 11.02 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.3067, allocations: 17.5 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3067, allocations: 10.7 kB / 0.5595 GB, free: 79.5 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3068, allocations: 63.53 kB / 0.5595 GB, free: 79.49 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3068, allocations: 2.594 kB / 0.5595 GB, free: 79.49 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002688/0.3071, allocations: 53.84 kB / 0.5596 GB, free: 79.49 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.3073, allocations: 95.64 kB / 0.5597 GB, free: 79.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.3076, allocations: 311.9 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/0.3076, allocations: 5.781 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.3077, allocations: 140.4 kB / 0.5601 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.308, allocations: 92.02 kB / 0.5602 GB, free: 79.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.3136, allocations: 0.5709 MB / 0.5607 GB, free: 78.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.3137, allocations: 78.86 kB / 0.5608 GB, free: 78.76 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.3138, allocations: 25.33 kB / 0.5608 GB, free: 78.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3139, allocations: 117.8 kB / 0.561 GB, free: 78.72 MB / 410.8 MB Notification: Performance of SimCode: time 1.262e-06/0.3139, allocations: 2.469 kB / 0.561 GB, free: 78.72 MB / 410.8 MB Notification: Performance of Templates: time 0.007113/0.3211, allocations: 3.801 MB / 0.5647 GB, free: 78.54 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.830937127582729]