Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.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.0009177/0.0009177, 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.0009138/0.0009138, 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 1.016/1.016, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7175/0.7175, allocations: 291.1 MB / 0.5382 GB, free: 51.83 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.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.436e-05, allocations: 3.406 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan): time 0.002656/0.002691, allocations: 2.718 MB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.007806, allocations: 6.604 MB / 0.7065 GB, free: 1.043 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.008013, allocations: 3.938 kB / 0.7065 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.00817, allocations: 35.64 kB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.008467, allocations: 123 kB / 0.7066 GB, free: 0.8828 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.008767, allocations: 71.83 kB / 0.7067 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.00908, allocations: 393.9 kB / 0.7071 GB, free: 436 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.009256, allocations: 60.81 kB / 0.7071 GB, free: 380 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.009471, allocations: 203.5 kB / 0.7073 GB, free: 176 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.009691, allocations: 115.6 kB / 0.7074 GB, free: 60 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.009729, allocations: 24 kB / 0.7075 GB, free: 36 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.409e-05/0.009763, allocations: 28 kB / 0.7075 GB, free: 8 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.009829, allocations: 67.67 kB / 0.7076 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.009947, allocations: 111.7 kB / 0.7077 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.01027, allocations: 299.1 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01027, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01028, allocations: 4 kB / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01028, allocations: 0 / 0.708 GB, free: 15.54 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.0009356/0.01122, allocations: 0.5885 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.01126, allocations: 12.03 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.01134, allocations: 32.75 kB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.01161, allocations: 212.7 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.01164, allocations: 16.75 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.01168, allocations: 28.36 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.0121, allocations: 284.7 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.01212, allocations: 11.89 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.01214, allocations: 8 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.01215, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.01252, allocations: 236.5 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.01353, allocations: 0.6718 MB / 0.71 GB, free: 13.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.01401, allocations: 238.7 kB / 0.7102 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.01419, allocations: 152.4 kB / 0.7104 GB, free: 12.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01421, allocations: 7.938 kB / 0.7104 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.0146, allocations: 364.6 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.01461, allocations: 0 / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001707/0.01631, allocations: 1.087 MB / 0.7118 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.0164, allocations: 221.5 kB / 0.712 GB, free: 11.02 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.01662, allocations: 245.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.01664, allocations: 33.7 kB / 0.7123 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.01674, allocations: 156.8 kB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.01682, allocations: 119 kB / 0.7125 GB, free: 10.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.01691, allocations: 74.19 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.01702, allocations: 342.8 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.01727, allocations: 207.9 kB / 0.7131 GB, free: 9.812 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.01755, allocations: 319.1 kB / 0.7134 GB, free: 9.441 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.018, allocations: 431.1 kB / 0.7138 GB, free: 8.953 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.018, allocations: 0 / 0.7138 GB, free: 8.953 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006533/0.01865, allocations: 0.5537 MB / 0.7144 GB, free: 8.355 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.01872, allocations: 93.09 kB / 0.7145 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.01873, allocations: 4 kB / 0.7145 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.01875, allocations: 4 kB / 0.7145 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.01898, allocations: 79.89 kB / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.01899, allocations: 4 kB / 0.7146 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01915, allocations: 19.98 kB / 0.7146 GB, free: 8.137 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.01918, allocations: 16 kB / 0.7146 GB, free: 8.121 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.000238/0.01942, allocations: 229 kB / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.01946, allocations: 31.81 kB / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.01951, allocations: 30.95 kB / 0.7149 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01951, allocations: 4 kB / 0.7149 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.01952, allocations: 0 / 0.7149 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01952, allocations: 0 / 0.7149 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.02043, allocations: 0.7678 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02043, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.02063, allocations: 55.95 kB / 0.7157 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.02064, allocations: 4 kB / 0.7157 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.02066, allocations: 15.94 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.02066, allocations: 3.938 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.02067, allocations: 3.938 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/0.02147, allocations: 0.7231 MB / 0.7164 GB, free: 6.117 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.02151, allocations: 23.88 kB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.02156, allocations: 15.98 kB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.0217, allocations: 15.98 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.02178, allocations: 35.89 kB / 0.7165 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.0218, allocations: 8 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001402/0.02194, allocations: 185.1 kB / 0.7167 GB, free: 5.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02194, allocations: 0 / 0.7167 GB, free: 5.84 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003436/0.02229, allocations: 88 kB / 0.7168 GB, free: 5.754 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.0001411/0.02243, allocations: 122.9 kB / 0.7169 GB, free: 5.629 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.02302, allocations: 0.5609 MB / 0.7174 GB, free: 5 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02302, allocations: 0 / 0.7174 GB, free: 5 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.02329, allocations: 306.5 kB / 0.7177 GB, free: 4.668 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.02377, allocations: 84.56 kB / 0.7178 GB, free: 4.586 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.02508, allocations: 0.828 MB / 0.7186 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.0252, allocations: 160.3 kB / 0.7188 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.02528, allocations: 28.5 kB / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of SimCode: time 6.41e-07/0.02528, allocations: 0 / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of Templates: time 0.1767/0.2019, allocations: 4.017 MB / 0.7227 GB, free: 36.85 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.675494289025664]