Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.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.002188/0.002188, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 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.002645/0.002645, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.874/1.874, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] 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 1.497/1.497, allocations: 316.7 MB / 0.6144 GB, free: 93.05 MB / 410.7 MB " [Timeout remaining time 178] 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.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003871/0.003871, allocations: 73.94 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.177, allocations: 73.99 MB / 0.8472 GB, free: 4.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine): time 0.004319/0.1814, allocations: 2.316 MB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.401/0.5824, allocations: 6.527 MB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.5827, allocations: 0.5312 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.5829, allocations: 26.34 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.5832, allocations: 80.53 kB / 0.856 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.5835, allocations: 54.91 kB / 0.856 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.5838, allocations: 260.3 kB / 0.8563 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.584, allocations: 33.7 kB / 0.8563 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.5842, allocations: 98.72 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.5844, allocations: 95.53 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.5845, allocations: 18.16 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.686e-05/0.5845, allocations: 17 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.5846, allocations: 39.91 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.5847, allocations: 95.33 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.585, allocations: 197.7 kB / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.585, allocations: 0 / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.835e-06/0.585, allocations: 5.156 kB / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.585, allocations: 0 / 0.8568 GB, free: 21.88 MB / 490.8 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.0008725/0.5858, allocations: 495.2 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5859, allocations: 9.031 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.5859, allocations: 24.27 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5862, allocations: 191.4 kB / 0.8575 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5862, allocations: 7.547 kB / 0.8575 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.5863, allocations: 21.89 kB / 0.8576 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.5866, allocations: 192.1 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.5866, allocations: 6.312 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5867, allocations: 2.75 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5867, allocations: 4.812 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.587, allocations: 145 kB / 0.8579 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.5878, allocations: 481.5 kB / 0.8583 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.5882, allocations: 172.5 kB / 0.8585 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.5884, allocations: 96.19 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5884, allocations: 2.312 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.5887, allocations: 234 kB / 0.8588 GB, free: 20.65 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.5888, allocations: 0 / 0.8588 GB, free: 20.65 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001456/0.5902, allocations: 0.7049 MB / 0.8595 GB, free: 20.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.5903, allocations: 136.3 kB / 0.8596 GB, free: 20.13 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.5905, allocations: 214.3 kB / 0.8599 GB, free: 20.03 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5905, allocations: 33.95 kB / 0.8599 GB, free: 20 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.5906, allocations: 138.1 kB / 0.86 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.5906, allocations: 70.67 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.5907, allocations: 51.7 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.5908, allocations: 335.5 kB / 0.8605 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.591, allocations: 146.2 kB / 0.8606 GB, free: 19.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5912, allocations: 222.2 kB / 0.8608 GB, free: 19.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.5916, allocations: 281.9 kB / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5916, allocations: 0 / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005558/0.5922, allocations: 390 kB / 0.8614 GB, free: 18.94 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.5922, allocations: 67.3 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5922, allocations: 5.438 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.5922, allocations: 3.438 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.5924, allocations: 55.34 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5924, allocations: 3.562 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.5926, allocations: 18.52 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.5926, allocations: 11.69 kB / 0.8616 GB, free: 18.86 MB / 490.8 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.0001789/0.5928, allocations: 176.7 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.5929, allocations: 29.45 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.5929, allocations: 23.88 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5929, allocations: 2.906 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5929, allocations: 1.688 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5929, allocations: 1.406 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.5936, allocations: 0.5456 MB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5936, allocations: 1.312 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5938, allocations: 35.39 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5938, allocations: 1.844 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5938, allocations: 12.12 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5938, allocations: 5.656 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5938, allocations: 1.844 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.5945, allocations: 497.4 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.5946, allocations: 25.3 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.5946, allocations: 7.406 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5948, allocations: 12.62 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.5949, allocations: 25.45 kB / 0.863 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.5949, allocations: 6.078 kB / 0.863 GB, free: 18.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001536/0.595, allocations: 163.2 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.595, allocations: 0 / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003018/0.5953, allocations: 53.53 kB / 0.8632 GB, free: 18.04 MB / 490.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.0001247/0.5955, allocations: 121.5 kB / 0.8633 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.596, allocations: 378.6 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.596, allocations: 3.438 kB / 0.8636 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.5963, allocations: 168.4 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.5968, allocations: 70.7 kB / 0.8639 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.5981, allocations: 0.6851 MB / 0.8645 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.5982, allocations: 127.5 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.5983, allocations: 20.89 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.5984, allocations: 20.48 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of SimCode: time 4.1e-07/0.5984, allocations: 4.844 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of Templates: time 0.009286/0.6077, allocations: 3.645 MB / 0.8683 GB, free: 16.89 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA06_Nimodipine.Nimodipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.069184744963422]