Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.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.001957/0.001957, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002265/0.002265, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.887/1.887, allocations: 230.6 MB / 256 MB, free: 9.598 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.394/1.394, allocations: 316.8 MB / 0.6144 GB, free: 93.5 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.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan") [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.004054/0.004054, allocations: 77.66 kB / 0.775 GB, free: 14.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1863, allocations: 73.99 MB / 0.8473 GB, free: 5.113 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan): time 0.004955/0.1913, allocations: 2.311 MB / 0.8495 GB, free: 2.805 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3598/0.5511, allocations: 6.525 MB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.5513, allocations: 3.844 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.5515, allocations: 25.61 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.5518, allocations: 85.48 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.552, allocations: 49.88 kB / 0.8561 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.5523, allocations: 259.7 kB / 0.8563 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.5525, allocations: 40.11 kB / 0.8563 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.5526, allocations: 101.8 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.5529, allocations: 95.55 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.5529, allocations: 17.28 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.5529, allocations: 16.5 kB / 0.8566 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.553, allocations: 42.28 kB / 0.8566 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.5531, allocations: 90.31 kB / 0.8567 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.5533, allocations: 200.7 kB / 0.8569 GB, free: 21.54 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5533, allocations: 1.312 kB / 0.8569 GB, free: 21.54 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5533, allocations: 2.188 kB / 0.8569 GB, free: 21.54 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.5534, allocations: 0 / 0.8569 GB, free: 21.54 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.0008157/0.5542, allocations: 0.4923 MB / 0.8574 GB, free: 21.13 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5542, allocations: 8.594 kB / 0.8574 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.5543, allocations: 25.58 kB / 0.8574 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5545, allocations: 187.6 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5545, allocations: 10.3 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.5546, allocations: 17.03 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.5549, allocations: 194.1 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5549, allocations: 2.547 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5549, allocations: 4.094 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5549, allocations: 3.25 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.5553, allocations: 147 kB / 0.8579 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.556, allocations: 485.5 kB / 0.8584 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.5565, allocations: 182.5 kB / 0.8586 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.5566, allocations: 92.83 kB / 0.8587 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5566, allocations: 5.031 kB / 0.8587 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.5569, allocations: 222.5 kB / 0.8589 GB, free: 20.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.5569, allocations: 0 / 0.8589 GB, free: 20.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001295/0.5582, allocations: 0.7048 MB / 0.8596 GB, free: 19.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5583, allocations: 140.2 kB / 0.8597 GB, free: 19.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.5585, allocations: 219.9 kB / 0.8599 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.5585, allocations: 33.33 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.5586, allocations: 142 kB / 0.8601 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.5586, allocations: 68.11 kB / 0.8601 GB, free: 19.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.5587, allocations: 50.55 kB / 0.8602 GB, free: 19.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.5587, allocations: 337.6 kB / 0.8605 GB, free: 19.18 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.5589, allocations: 142.5 kB / 0.8607 GB, free: 19.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5591, allocations: 221.4 kB / 0.8609 GB, free: 18.94 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.5595, allocations: 284 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5595, allocations: 0.5938 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005253/0.56, allocations: 391.8 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.5601, allocations: 63.41 kB / 0.8616 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5601, allocations: 5.5 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5601, allocations: 3.469 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.5603, allocations: 54.2 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5603, allocations: 2.844 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5605, allocations: 21.17 kB / 0.8617 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5605, allocations: 8.156 kB / 0.8617 GB, free: 18.52 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.0001668/0.5607, allocations: 194.5 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.5607, allocations: 22.45 kB / 0.8619 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.5608, allocations: 25.22 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5608, allocations: 4.969 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5608, allocations: 0.5 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5608, allocations: 3.047 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.5615, allocations: 0.539 MB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5615, allocations: 0.625 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5617, allocations: 35.31 kB / 0.8625 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5617, allocations: 0.6562 kB / 0.8625 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5617, allocations: 5.906 kB / 0.8625 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.5617, allocations: 8.125 kB / 0.8625 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5617, allocations: 0 / 0.8625 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.5624, allocations: 0.4936 MB / 0.863 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.5624, allocations: 20.92 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.5625, allocations: 8.203 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.5626, allocations: 15.03 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.5627, allocations: 21.16 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5627, allocations: 11.09 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001166/0.5628, allocations: 161.1 kB / 0.8632 GB, free: 17.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5628, allocations: 0 / 0.8632 GB, free: 17.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003126/0.5631, allocations: 56.16 kB / 0.8632 GB, free: 17.69 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.0001051/0.5632, allocations: 117.2 kB / 0.8633 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.5638, allocations: 373.5 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5638, allocations: 1.562 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.564, allocations: 173.4 kB / 0.8639 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.5645, allocations: 69.39 kB / 0.8639 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5657, allocations: 0.6929 MB / 0.8646 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.5658, allocations: 122.5 kB / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.5659, allocations: 30.28 kB / 0.8648 GB, free: 16.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.5659, allocations: 20.39 kB / 0.8648 GB, free: 16.86 MB / 490.8 MB Notification: Performance of SimCode: time 7.71e-07/0.5659, allocations: 1.375 kB / 0.8648 GB, free: 16.86 MB / 490.8 MB Notification: Performance of Templates: time 0.008354/0.5743, allocations: 3.665 MB / 0.8684 GB, free: 16.53 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01C_PlantAlkaloidsAndOtherNaturalProducts.L01CE01_Topotecan.Topotecan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.089745924109593]