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.00115/0.00115, 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.001202/0.001202, 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.117/1.117, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7678/0.7678, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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: 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.001688/0.001688, allocations: 75.62 kB / 0.7699 GB, free: 20.06 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1347, allocations: 73.99 MB / 0.8422 GB, free: 10.2 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan): time 0.003055/0.1377, allocations: 2.703 MB / 0.8448 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.1442, allocations: 6.614 MB / 0.8513 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1445, allocations: 3.938 kB / 0.8513 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1447, allocations: 40.25 kB / 0.8513 GB, free: 0.8438 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.145, allocations: 120.4 kB / 0.8514 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1453, allocations: 68.61 kB / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.1456, allocations: 370.2 kB / 0.8518 GB, free: 304 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1458, allocations: 61.45 kB / 0.8519 GB, free: 244 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1459, allocations: 143.9 kB / 0.852 GB, free: 100 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1462, allocations: 139.9 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1462, allocations: 24.5 kB / 0.8522 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.1463, allocations: 24 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1463, allocations: 60.2 kB / 0.8523 GB, free: 15.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1464, allocations: 131.9 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1467, allocations: 291.4 kB / 0.8527 GB, free: 15.44 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1467, allocations: 0 / 0.8527 GB, free: 15.44 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1467, allocations: 0.625 kB / 0.8527 GB, free: 15.44 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1467, allocations: 4 kB / 0.8527 GB, free: 15.44 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.0009001/0.1476, allocations: 0.5941 MB / 0.8532 GB, free: 14.79 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1477, allocations: 12.66 kB / 0.8533 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.1477, allocations: 33.34 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.148, allocations: 209.1 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.148, allocations: 17.38 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.1481, allocations: 23.94 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.1484, allocations: 293 kB / 0.8538 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1484, allocations: 3.953 kB / 0.8538 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1484, allocations: 16.58 kB / 0.8538 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1485, allocations: 4.656 kB / 0.8538 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1487, allocations: 229 kB / 0.8541 GB, free: 13.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008575/0.1496, allocations: 0.6737 MB / 0.8547 GB, free: 13.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.15, allocations: 243.2 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1502, allocations: 153.1 kB / 0.8551 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1502, allocations: 0.5938 kB / 0.8551 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.1505, allocations: 351.4 kB / 0.8554 GB, free: 12.38 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.155e-06/0.1505, allocations: 0.7188 kB / 0.8554 GB, free: 12.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3394/0.4899, allocations: 1.088 MB / 0.8565 GB, free: 21.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4899, allocations: 225.1 kB / 0.8567 GB, free: 21.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4902, allocations: 246.3 kB / 0.8569 GB, free: 20.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4902, allocations: 33.8 kB / 0.857 GB, free: 20.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.4903, allocations: 162.9 kB / 0.8571 GB, free: 20.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.4904, allocations: 111.8 kB / 0.8572 GB, free: 20.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.4905, allocations: 74.47 kB / 0.8573 GB, free: 20.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.4905, allocations: 344.5 kB / 0.8576 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.4908, allocations: 206.9 kB / 0.8578 GB, free: 20.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.491, allocations: 315.4 kB / 0.8581 GB, free: 20.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.4913, allocations: 437.8 kB / 0.8585 GB, free: 19.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4913, allocations: 0 / 0.8585 GB, free: 19.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005337/0.4919, allocations: 0.5501 MB / 0.8591 GB, free: 19.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.4919, allocations: 87.03 kB / 0.8592 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4919, allocations: 7.453 kB / 0.8592 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.492, allocations: 6.312 kB / 0.8592 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.4922, allocations: 82.53 kB / 0.8593 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4922, allocations: 3.625 kB / 0.8593 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.4923, allocations: 24.78 kB / 0.8593 GB, free: 19.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.4923, allocations: 14.78 kB / 0.8593 GB, free: 19.52 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.0002091/0.4925, allocations: 228.9 kB / 0.8595 GB, free: 19.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.4926, allocations: 33.91 kB / 0.8596 GB, free: 19.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.4926, allocations: 30.88 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4926, allocations: 2.75 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4926, allocations: 0 / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4926, allocations: 5.172 kB / 0.8596 GB, free: 19.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.4934, allocations: 0.7671 MB / 0.8603 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4934, allocations: 0 / 0.8603 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4936, allocations: 56.39 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4936, allocations: 2.188 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4936, allocations: 10.77 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4936, allocations: 2.031 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4936, allocations: 3.938 kB / 0.8604 GB, free: 18.95 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.4942, allocations: 0.7289 MB / 0.8611 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.4943, allocations: 21.77 kB / 0.8611 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.4943, allocations: 16.25 kB / 0.8612 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4944, allocations: 16.3 kB / 0.8612 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4945, allocations: 36.69 kB / 0.8612 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4946, allocations: 10.64 kB / 0.8612 GB, free: 18.58 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001441/0.4947, allocations: 179.1 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4947, allocations: 0.625 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002672/0.495, allocations: 86.94 kB / 0.8615 GB, free: 18.5 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.0001394/0.4951, allocations: 124.2 kB / 0.8616 GB, free: 18.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.4956, allocations: 0.5654 MB / 0.8621 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4956, allocations: 1.531 kB / 0.8621 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.4959, allocations: 298.8 kB / 0.8624 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4963, allocations: 87.81 kB / 0.8625 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4976, allocations: 0.9694 MB / 0.8635 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.4978, allocations: 161.8 kB / 0.8636 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.4978, allocations: 28 kB / 0.8636 GB, free: 17.3 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.4978, allocations: 0 / 0.8636 GB, free: 17.3 MB / 490.8 MB Notification: Performance of Templates: time 0.007493/0.5053, allocations: 4.015 MB / 0.8676 GB, free: 16.95 MB / 490.8 MB " [Timeout remaining time 659] 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: 6.716459664516151]