Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.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.001796/0.001796, 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.001897/0.001897, allocations: 213.9 kB / 22.25 MB, free: 3.574 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.812/1.812, 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.488/1.488, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin") [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.003984/0.003984, allocations: 76.16 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1876, allocations: 73.99 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin): time 0.004103/0.1917, allocations: 2.303 MB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3485/0.5403, allocations: 6.519 MB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.5405, allocations: 4.406 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.5407, allocations: 28.7 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.541, allocations: 84.84 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.5412, allocations: 55.11 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.5415, allocations: 256.4 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.5416, allocations: 34.62 kB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.5418, allocations: 96.3 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.542, allocations: 102.2 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.542, allocations: 17 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.5421, allocations: 17.75 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.5421, allocations: 37.11 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.5422, allocations: 99.7 kB / 0.8567 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.5424, allocations: 196 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5424, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5424, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.5425, allocations: 0 / 0.8568 GB, free: 21.82 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.0008238/0.5433, allocations: 0.4913 MB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5433, allocations: 11.09 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.5434, allocations: 23.95 kB / 0.8574 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5436, allocations: 183.7 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5436, allocations: 9.953 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.5437, allocations: 23.08 kB / 0.8576 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.544, allocations: 189.1 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5441, allocations: 0.625 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.5441, allocations: 5.094 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5441, allocations: 3.5 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.5444, allocations: 150.6 kB / 0.8579 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.5452, allocations: 483.8 kB / 0.8584 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.5457, allocations: 173.3 kB / 0.8585 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.5458, allocations: 96.53 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5458, allocations: 7.281 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.5461, allocations: 222.2 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.5462, allocations: 0.5 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001346/0.5475, allocations: 0.698 MB / 0.8595 GB, free: 20.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.5475, allocations: 138.2 kB / 0.8596 GB, free: 20.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5477, allocations: 217.1 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5478, allocations: 31.58 kB / 0.8599 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.5478, allocations: 134.8 kB / 0.86 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5479, allocations: 74.3 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.5479, allocations: 52.2 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.548, allocations: 344.9 kB / 0.8605 GB, free: 19.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5482, allocations: 145 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.5484, allocations: 222 kB / 0.8608 GB, free: 19.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.5488, allocations: 288 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5488, allocations: 0.5938 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005407/0.5493, allocations: 382.8 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.5494, allocations: 64.03 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5494, allocations: 7.688 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5494, allocations: 4.25 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.5496, allocations: 53.03 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5496, allocations: 1 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5498, allocations: 21.08 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.5498, allocations: 16.23 kB / 0.8616 GB, free: 18.8 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.0001731/0.55, allocations: 173.3 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.55, allocations: 23.39 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.5501, allocations: 26.02 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5501, allocations: 10.56 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5501, allocations: 0.75 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5501, allocations: 1.266 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.5508, allocations: 0.5377 MB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5508, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.551, allocations: 42.5 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.551, allocations: 0.6875 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.551, allocations: 9.344 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.551, allocations: 5.094 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.551, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.5517, allocations: 0.4936 MB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.5517, allocations: 24.28 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.5518, allocations: 8.656 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5519, allocations: 10.83 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.552, allocations: 25.45 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.552, allocations: 10.09 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001091/0.5521, allocations: 162.3 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5521, allocations: 0.625 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000296/0.5524, allocations: 53.5 kB / 0.8632 GB, free: 17.98 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.0001099/0.5526, allocations: 115.9 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.5531, allocations: 379.9 kB / 0.8637 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5531, allocations: 4.25 kB / 0.8637 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.5533, allocations: 170.5 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.5538, allocations: 70 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.555, allocations: 0.6808 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.5551, allocations: 127.9 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.5553, allocations: 22.94 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.5553, allocations: 24.12 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.5553, allocations: 0 / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.008763/0.5641, allocations: 3.649 MB / 0.8683 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DC01_Bleomycin.Bleomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.20150622120127]