Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.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.001446/0.001446, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001641/0.001641, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.9638/0.9638, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6841/0.6841, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.327e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference): time 0.002251/0.002275, allocations: 2.69 MB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.006228, allocations: 6.607 MB / 0.7064 GB, free: 1.066 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.006362, allocations: 4 kB / 0.7064 GB, free: 1.062 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.006487, allocations: 43.56 kB / 0.7065 GB, free: 1.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.006736, allocations: 127 kB / 0.7066 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.007043, allocations: 63.91 kB / 0.7067 GB, free: 0.832 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.007333, allocations: 397.8 kB / 0.707 GB, free: 452 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.007521, allocations: 60.77 kB / 0.7071 GB, free: 396 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.007705, allocations: 203.5 kB / 0.7073 GB, free: 192 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.007936, allocations: 123.6 kB / 0.7074 GB, free: 68 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.007968, allocations: 24 kB / 0.7074 GB, free: 44 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.007994, allocations: 24 kB / 0.7075 GB, free: 20 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.008051, allocations: 55.77 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.008148, allocations: 119.7 kB / 0.7076 GB, free: 15.85 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.008422, allocations: 291.1 kB / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008427, allocations: 0 / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008428, allocations: 0 / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.008434, allocations: 0 / 0.7079 GB, free: 15.56 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007644/0.009198, allocations: 0.5963 MB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.009237, allocations: 8.031 kB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.009296, allocations: 32.75 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.00952, allocations: 220.7 kB / 0.7087 GB, free: 14.63 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.009538, allocations: 12.75 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.009575, allocations: 24.38 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.009909, allocations: 292.5 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.009924, allocations: 3.953 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.009943, allocations: 8 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.009949, allocations: 7.938 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.01023, allocations: 244.4 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.01104, allocations: 0.664 MB / 0.71 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.01141, allocations: 243.9 kB / 0.7102 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.01156, allocations: 148.5 kB / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.01158, allocations: 7.984 kB / 0.7103 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.01192, allocations: 371.2 kB / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.01192, allocations: 0 / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00131/0.01323, allocations: 1.078 MB / 0.7117 GB, free: 11.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005029/0.01373, allocations: 221.6 kB / 0.712 GB, free: 11.04 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01391, allocations: 241.9 kB / 0.7122 GB, free: 10.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.01394, allocations: 37.7 kB / 0.7122 GB, free: 10.76 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.01402, allocations: 160.7 kB / 0.7124 GB, free: 10.59 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.01407, allocations: 115.1 kB / 0.7125 GB, free: 10.48 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.01415, allocations: 70.19 kB / 0.7126 GB, free: 10.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.01424, allocations: 354.7 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.01443, allocations: 207.9 kB / 0.7131 GB, free: 9.824 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.01465, allocations: 311.2 kB / 0.7134 GB, free: 9.457 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.015, allocations: 435 kB / 0.7138 GB, free: 8.965 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.015, allocations: 0 / 0.7138 GB, free: 8.965 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004928/0.01549, allocations: 0.5536 MB / 0.7143 GB, free: 8.367 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.01555, allocations: 85.11 kB / 0.7144 GB, free: 8.266 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01555, allocations: 0 / 0.7144 GB, free: 8.266 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.01558, allocations: 8 kB / 0.7144 GB, free: 8.258 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01576, allocations: 83.81 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01576, allocations: 4 kB / 0.7145 GB, free: 8.172 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01588, allocations: 24.23 kB / 0.7145 GB, free: 8.148 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.0159, allocations: 16 kB / 0.7146 GB, free: 8.133 MB / 426.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002/0.0161, allocations: 225.8 kB / 0.7148 GB, free: 7.895 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.01613, allocations: 27.81 kB / 0.7148 GB, free: 7.867 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.01617, allocations: 34.95 kB / 0.7148 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01617, allocations: 4 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01618, allocations: 0 / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01618, allocations: 7.922 kB / 0.7148 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.01702, allocations: 0.7601 MB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01702, allocations: 0 / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.01717, allocations: 51.91 kB / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01718, allocations: 4 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01719, allocations: 11.98 kB / 0.7156 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.0172, allocations: 0 / 0.7156 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.0172, allocations: 3.938 kB / 0.7156 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.01784, allocations: 0.7309 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.01787, allocations: 31.73 kB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.01791, allocations: 16.06 kB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.01801, allocations: 15.98 kB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.01809, allocations: 31.89 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.0181, allocations: 15.98 kB / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01822, allocations: 177.2 kB / 0.7166 GB, free: 5.859 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01822, allocations: 0 / 0.7166 GB, free: 5.859 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002231/0.01844, allocations: 84 kB / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001329/0.01857, allocations: 134.7 kB / 0.7168 GB, free: 5.641 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.01907, allocations: 0.5607 MB / 0.7174 GB, free: 5.016 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01907, allocations: 0 / 0.7174 GB, free: 5.016 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.01929, allocations: 302.7 kB / 0.7177 GB, free: 4.684 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.01965, allocations: 84.42 kB / 0.7178 GB, free: 4.602 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.02064, allocations: 0.8164 MB / 0.7186 GB, free: 3.742 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.02103, allocations: 160.3 kB / 0.7187 GB, free: 3.562 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.02111, allocations: 32.48 kB / 0.7187 GB, free: 3.531 MB / 426.8 MB Notification: Performance of SimCode: time 1.202e-06/0.02111, allocations: 0 / 0.7187 GB, free: 3.531 MB / 426.8 MB Notification: Performance of Templates: time 0.1752/0.1963, allocations: 4.026 MB / 0.7227 GB, free: 36.91 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.722962127998471]