Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.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.001859/0.001859, 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.002018/0.002018, 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.724/1.724, 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.471/1.471, allocations: 316.8 MB / 0.6144 GB, free: 92.88 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.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine") [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.005909/0.005909, allocations: 77.31 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1859, allocations: 73.99 MB / 0.8473 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine): time 0.005171/0.191, allocations: 2.303 MB / 0.8495 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.328/0.5191, allocations: 6.527 MB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.5192, allocations: 0 / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.5194, allocations: 26.36 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.5196, allocations: 81.22 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.5198, allocations: 56.05 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.52, allocations: 256 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.5202, allocations: 38.55 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.5203, allocations: 95.62 kB / 0.8564 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.5205, allocations: 99.72 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.5205, allocations: 16.72 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.5205, allocations: 18.62 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.5206, allocations: 37.05 kB / 0.8566 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.5206, allocations: 93.92 kB / 0.8567 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.5209, allocations: 202.7 kB / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5209, allocations: 0 / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5209, allocations: 0 / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.5209, allocations: 0 / 0.8569 GB, free: 21.81 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.0007366/0.5216, allocations: 499.3 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.5216, allocations: 7.844 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.5217, allocations: 24.98 kB / 0.8574 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.5219, allocations: 186.8 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5219, allocations: 12.98 kB / 0.8576 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.5219, allocations: 20.08 kB / 0.8576 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.5222, allocations: 188.5 kB / 0.8578 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5223, allocations: 1.781 kB / 0.8578 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.5223, allocations: 6.25 kB / 0.8578 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5223, allocations: 5.25 kB / 0.8578 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.5226, allocations: 148.6 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.5232, allocations: 480.5 kB / 0.8584 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.5237, allocations: 179 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.5238, allocations: 98.02 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5238, allocations: 5.469 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.5241, allocations: 221.4 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.5241, allocations: 0.5625 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001427/0.5255, allocations: 0.704 MB / 0.8595 GB, free: 20.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5256, allocations: 138 kB / 0.8597 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.5257, allocations: 217.7 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5257, allocations: 32.45 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.5258, allocations: 129 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.5258, allocations: 72.86 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.5259, allocations: 58.08 kB / 0.8602 GB, free: 19.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.5259, allocations: 337.6 kB / 0.8605 GB, free: 19.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.5261, allocations: 144.7 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.5263, allocations: 222.6 kB / 0.8608 GB, free: 19.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5267, allocations: 282.7 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5267, allocations: 0.5625 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005044/0.5272, allocations: 388.3 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5272, allocations: 65.08 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5272, allocations: 7.688 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5272, allocations: 3.125 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5274, allocations: 47.61 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5274, allocations: 4.125 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.5276, allocations: 23 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.5276, allocations: 12 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.0001426/0.5278, allocations: 174 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.5278, allocations: 26.27 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.5278, allocations: 29.72 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5279, allocations: 3.969 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5279, allocations: 2.531 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5279, allocations: 1.266 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.5285, allocations: 0.5411 MB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5285, allocations: 1.219 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.5286, allocations: 36.58 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5286, allocations: 1.094 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5287, allocations: 9.312 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5287, allocations: 3.938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5287, allocations: 9.562 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.5293, allocations: 498.2 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.5293, allocations: 20 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.5293, allocations: 10.75 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5295, allocations: 13.14 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.5296, allocations: 26.55 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.5296, allocations: 10.09 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001175/0.5297, allocations: 157.4 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5297, allocations: 0 / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002693/0.53, allocations: 58.08 kB / 0.8632 GB, free: 17.97 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 8.264e-05/0.5301, allocations: 112.7 kB / 0.8633 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.5305, allocations: 382.3 kB / 0.8637 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5305, allocations: 0.8125 kB / 0.8637 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.5308, allocations: 171.8 kB / 0.8638 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.5312, allocations: 73.2 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.001062/0.5323, allocations: 0.6812 MB / 0.8646 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.47e-05/0.5324, allocations: 127.7 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.122e-05/0.5324, allocations: 20.23 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.5325, allocations: 23.67 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 3.81e-07/0.5325, allocations: 4 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.007232/0.5397, allocations: 3.644 MB / 0.8683 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.494436459848657]