Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_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.0009944/0.0009944, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.00107/0.00107, allocations: 217.3 kB / 23.01 MB, free: 2.945 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.076/1.076, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7621/0.7621, allocations: 312.3 MB / 0.6108 GB, free: 97.08 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.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference") [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.001528/0.001528, allocations: 67.39 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1436, allocations: 73.98 MB / 0.8421 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference): time 0.002846/0.1465, allocations: 2.302 MB / 0.8444 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.1529, allocations: 6.537 MB / 0.8508 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1531, allocations: 0 / 0.8508 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1533, allocations: 24.22 kB / 0.8508 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1536, allocations: 80.08 kB / 0.8509 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1538, allocations: 56.48 kB / 0.8509 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.1541, allocations: 251.4 kB / 0.8511 GB, free: 0.6172 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.1543, allocations: 41.16 kB / 0.8512 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1544, allocations: 99.64 kB / 0.8513 GB, free: 492 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1547, allocations: 96.09 kB / 0.8514 GB, free: 396 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1547, allocations: 20.59 kB / 0.8514 GB, free: 376 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.1547, allocations: 16 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.1548, allocations: 32.42 kB / 0.8514 GB, free: 328 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.1548, allocations: 100.2 kB / 0.8515 GB, free: 228 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1551, allocations: 199.2 kB / 0.8517 GB, free: 28 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1551, allocations: 0.5938 kB / 0.8517 GB, free: 28 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1551, allocations: 0 / 0.8517 GB, free: 28 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1551, allocations: 0.5 kB / 0.8517 GB, free: 28 kB / 474.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.0008031/0.1559, allocations: 0.4947 MB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.156, allocations: 8.031 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.156, allocations: 25.42 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1563, allocations: 179.7 kB / 0.8524 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1563, allocations: 12.61 kB / 0.8524 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.1563, allocations: 20.61 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1566, allocations: 199 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1567, allocations: 0.7188 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1567, allocations: 4 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1567, allocations: 4.625 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.1569, allocations: 150.3 kB / 0.8528 GB, free: 14.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.1576, allocations: 482.6 kB / 0.8532 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.1579, allocations: 173.4 kB / 0.8534 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1581, allocations: 95.69 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1581, allocations: 3.984 kB / 0.8535 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.1583, allocations: 229.5 kB / 0.8537 GB, free: 13.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.695e-06/0.1583, allocations: 0 / 0.8537 GB, free: 13.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001066/0.1594, allocations: 0.6934 MB / 0.8544 GB, free: 13.05 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.1595, allocations: 133.2 kB / 0.8545 GB, free: 12.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1597, allocations: 222.9 kB / 0.8547 GB, free: 12.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1597, allocations: 34.3 kB / 0.8548 GB, free: 12.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.1598, allocations: 133.1 kB / 0.8549 GB, free: 12.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1598, allocations: 71.47 kB / 0.855 GB, free: 12.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.1599, allocations: 58.41 kB / 0.855 GB, free: 12.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.16, allocations: 342.7 kB / 0.8554 GB, free: 12.02 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3001/0.46, allocations: 138.9 kB / 0.8555 GB, free: 30.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.4603, allocations: 225.5 kB / 0.8557 GB, free: 30.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4606, allocations: 280 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4606, allocations: 2.219 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004279/0.461, allocations: 391.3 kB / 0.8563 GB, free: 29.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.4611, allocations: 64.97 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4611, allocations: 3.5 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.4611, allocations: 7.094 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4613, allocations: 49.42 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4613, allocations: 6.281 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4614, allocations: 17.89 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4614, allocations: 14.94 kB / 0.8565 GB, free: 29.79 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.000201/0.4616, allocations: 171.2 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4616, allocations: 30.27 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.4617, allocations: 23.81 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4617, allocations: 3.375 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4617, allocations: 3.5 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.4617, allocations: 1.547 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.4623, allocations: 0.5356 MB / 0.8572 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4623, allocations: 1.312 kB / 0.8572 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4624, allocations: 44.5 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4624, allocations: 2.156 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4625, allocations: 5.516 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4625, allocations: 3.938 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4625, allocations: 0 / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.4629, allocations: 0.4913 MB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.463, allocations: 18.78 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.463, allocations: 12.72 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.4631, allocations: 11.81 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.4632, allocations: 20.88 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4632, allocations: 8.125 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001053/0.4633, allocations: 158.4 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4633, allocations: 2.844 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001999/0.4635, allocations: 55.94 kB / 0.8581 GB, free: 29.03 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.0001093/0.4636, allocations: 116.4 kB / 0.8582 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.464, allocations: 383.8 kB / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.464, allocations: 0.875 kB / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.4641, allocations: 176.9 kB / 0.8587 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4645, allocations: 62.66 kB / 0.8588 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.4655, allocations: 0.6999 MB / 0.8594 GB, free: 28.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.4655, allocations: 128.1 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.4656, allocations: 19.39 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 1.002e-06/0.4656, allocations: 0.6875 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.00454/0.4701, allocations: 2.946 MB / 0.8625 GB, free: 28 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01E_ProteinKinaseInhibitors.L01EB08_Icotinib.Icotinib_Hu2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.515949814580381]