Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.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.001565/0.001565, allocations: 104.3 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.001951/0.001951, allocations: 219.9 kB / 23 MB, free: 2.965 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.098/1.098, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7814/0.7814, allocations: 312.3 MB / 0.6108 GB, free: 97 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") [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.001468/0.001468, allocations: 77.67 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1332, allocations: 73.99 MB / 0.8422 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan): time 0.002979/0.1361, allocations: 2.7 MB / 0.8448 GB, free: 7.145 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.1419, allocations: 6.61 MB / 0.8513 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.142, allocations: 4.719 kB / 0.8513 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1422, allocations: 35.62 kB / 0.8513 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1424, allocations: 124.2 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1426, allocations: 72.44 kB / 0.8515 GB, free: 312 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.143, allocations: 378.7 kB / 0.8519 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1431, allocations: 49.53 kB / 0.8519 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1433, allocations: 143.5 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.1435, allocations: 136 kB / 0.8522 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.1436, allocations: 28.7 kB / 0.8522 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.1436, allocations: 28 kB / 0.8522 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1436, allocations: 56.22 kB / 0.8523 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1437, allocations: 132 kB / 0.8524 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.144, allocations: 294.8 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.144, allocations: 0.6875 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.003e-06/0.144, allocations: 0 / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.144, allocations: 4.594 kB / 0.8527 GB, free: 15.08 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008421/0.1449, allocations: 0.6002 MB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1449, allocations: 8.656 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.145, allocations: 36.69 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1452, allocations: 213.7 kB / 0.8535 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1452, allocations: 16.75 kB / 0.8535 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1453, allocations: 28.72 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1456, allocations: 288.5 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1457, allocations: 7.938 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1457, allocations: 8.594 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.1457, allocations: 4.625 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.146, allocations: 229.4 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.1468, allocations: 0.6771 MB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.1472, allocations: 235.4 kB / 0.855 GB, free: 12.58 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1473, allocations: 149.1 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1473, allocations: 8.484 kB / 0.8551 GB, free: 12.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2724/0.4197, allocations: 352.3 kB / 0.8555 GB, free: 21.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.027e-06/0.4197, allocations: 0 / 0.8555 GB, free: 21.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001446/0.4211, allocations: 1.083 MB / 0.8565 GB, free: 20.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4212, allocations: 217.8 kB / 0.8567 GB, free: 20.55 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4214, allocations: 251.8 kB / 0.857 GB, free: 20.45 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4214, allocations: 36.11 kB / 0.857 GB, free: 20.41 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4215, allocations: 157.1 kB / 0.8572 GB, free: 20.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.4215, allocations: 114.1 kB / 0.8573 GB, free: 20.26 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.4216, allocations: 75.83 kB / 0.8573 GB, free: 20.24 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.4217, allocations: 341 kB / 0.8577 GB, free: 19.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4219, allocations: 218.4 kB / 0.8579 GB, free: 19.82 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4221, allocations: 313.6 kB / 0.8582 GB, free: 19.59 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.4224, allocations: 436.9 kB / 0.8586 GB, free: 19.33 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4224, allocations: 0 / 0.8586 GB, free: 19.33 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004793/0.4229, allocations: 0.5459 MB / 0.8591 GB, free: 19.09 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.4229, allocations: 94.14 kB / 0.8592 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4229, allocations: 3.656 kB / 0.8592 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4229, allocations: 4.5 kB / 0.8592 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4231, allocations: 80.5 kB / 0.8593 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4231, allocations: 10.58 kB / 0.8593 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.4233, allocations: 27.59 kB / 0.8593 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4233, allocations: 18.28 kB / 0.8593 GB, free: 18.99 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: 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.0001835/0.4235, allocations: 223 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4235, allocations: 34.56 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.4235, allocations: 31.39 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4235, allocations: 6.5 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4235, allocations: 2.531 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4235, allocations: 4.531 kB / 0.8596 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.4243, allocations: 0.7594 MB / 0.8604 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4243, allocations: 0.5 kB / 0.8604 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.4244, allocations: 60.12 kB / 0.8604 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4244, allocations: 4.219 kB / 0.8604 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4244, allocations: 7.625 kB / 0.8604 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4245, allocations: 4.5 kB / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4245, allocations: 0 / 0.8604 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.4251, allocations: 0.7237 MB / 0.8612 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.4251, allocations: 25.61 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.4252, allocations: 12.44 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4253, allocations: 21.64 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.4254, allocations: 31.39 kB / 0.8612 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4254, allocations: 9.969 kB / 0.8613 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4255, allocations: 178.7 kB / 0.8614 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4255, allocations: 2.922 kB / 0.8614 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002409/0.4257, allocations: 91.05 kB / 0.8615 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: 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.0001022/0.4258, allocations: 123.5 kB / 0.8616 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4263, allocations: 0.566 MB / 0.8622 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4263, allocations: 0.5625 kB / 0.8622 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4265, allocations: 298.6 kB / 0.8625 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4269, allocations: 87.77 kB / 0.8626 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.428, allocations: 0.9724 MB / 0.8635 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.4281, allocations: 158.8 kB / 0.8637 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.4282, allocations: 31.66 kB / 0.8637 GB, free: 16.77 MB / 490.8 MB Notification: Performance of SimCode: time 1.052e-06/0.4282, allocations: 4 kB / 0.8637 GB, free: 16.77 MB / 490.8 MB Notification: Performance of Templates: time 0.006209/0.4344, allocations: 4.008 MB / 0.8676 GB, free: 16.42 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.76275637652725]