Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.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.0007968/0.0007968, 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.0009326/0.0009326, allocations: 212.4 kB / 23.01 MB, free: 2.941 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.003/1.003, 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.7415/0.7415, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone") [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.001835/0.001835, allocations: 77.33 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1382, allocations: 74 MB / 0.8421 GB, free: 9.805 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone): time 0.00275/0.141, allocations: 2.306 MB / 0.8444 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.1459, allocations: 6.525 MB / 0.8508 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.146, allocations: 4.594 kB / 0.8508 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1461, allocations: 23.72 kB / 0.8508 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1463, allocations: 84.58 kB / 0.8509 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1465, allocations: 48.44 kB / 0.8509 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1467, allocations: 263.3 kB / 0.8512 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1469, allocations: 33.11 kB / 0.8512 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.147, allocations: 99.59 kB / 0.8513 GB, free: 440 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1471, allocations: 100.2 kB / 0.8514 GB, free: 340 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1471, allocations: 16.59 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.1472, allocations: 20 kB / 0.8514 GB, free: 304 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.1472, allocations: 36.56 kB / 0.8515 GB, free: 268 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.1473, allocations: 95.52 kB / 0.8516 GB, free: 172 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1475, allocations: 195.9 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1475, allocations: 0 / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1475, allocations: 0.5938 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1475, allocations: 0.5312 kB / 0.8517 GB, free: 15.98 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006616/0.1482, allocations: 0.4941 MB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1482, allocations: 8.594 kB / 0.8522 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1482, allocations: 25.52 kB / 0.8523 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1484, allocations: 183.1 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1484, allocations: 9.109 kB / 0.8524 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1485, allocations: 28.58 kB / 0.8525 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1487, allocations: 190.9 kB / 0.8527 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1487, allocations: 3.938 kB / 0.8527 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1488, allocations: 8.625 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1488, allocations: 0.625 kB / 0.8527 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.149, allocations: 146.9 kB / 0.8528 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1495, allocations: 478.8 kB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.1499, allocations: 177.5 kB / 0.8534 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.15, allocations: 97.55 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.15, allocations: 4.656 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.1502, allocations: 223.4 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.1502, allocations: 4.594 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009064/0.1511, allocations: 0.7008 MB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1512, allocations: 144.5 kB / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1513, allocations: 215.5 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1513, allocations: 30.2 kB / 0.8548 GB, free: 12.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1514, allocations: 132.5 kB / 0.8549 GB, free: 12.44 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1514, allocations: 71.95 kB / 0.855 GB, free: 12.37 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.1515, allocations: 58.31 kB / 0.8551 GB, free: 12.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.1516, allocations: 338.8 kB / 0.8554 GB, free: 11.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2899/0.4415, allocations: 142.9 kB / 0.8555 GB, free: 30.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4417, allocations: 223.2 kB / 0.8557 GB, free: 30.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.4419, allocations: 278.6 kB / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4419, allocations: 3.312 kB / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003974/0.4423, allocations: 390.2 kB / 0.8564 GB, free: 29.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4424, allocations: 65.59 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4424, allocations: 5.969 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4424, allocations: 3.219 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4425, allocations: 53.11 kB / 0.8565 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4425, allocations: 8.062 kB / 0.8565 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4427, allocations: 17.48 kB / 0.8565 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.4427, allocations: 13.42 kB / 0.8565 GB, free: 29.76 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.0001558/0.4428, allocations: 173.6 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4429, allocations: 22.52 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.4429, allocations: 25.45 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4429, allocations: 4.781 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4429, allocations: 6.359 kB / 0.8568 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4429, allocations: 0 / 0.8568 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.4434, allocations: 0.5317 MB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4434, allocations: 0 / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4435, allocations: 38.78 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4435, allocations: 3.625 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4435, allocations: 4.156 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4435, allocations: 9 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4435, allocations: 4.516 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.4439, allocations: 0.4915 MB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.444, allocations: 15.48 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.444, allocations: 9.312 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.4441, allocations: 12.64 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.4442, allocations: 22.58 kB / 0.8579 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4442, allocations: 12.78 kB / 0.8579 GB, free: 29.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.195e-05/0.4443, allocations: 158.7 kB / 0.858 GB, free: 29 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4443, allocations: 0.7812 kB / 0.858 GB, free: 29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001992/0.4445, allocations: 53.94 kB / 0.8581 GB, free: 29 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 8.597e-05/0.4445, allocations: 121.5 kB / 0.8582 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.4449, allocations: 375 kB / 0.8586 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4449, allocations: 0 / 0.8586 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.445, allocations: 175.6 kB / 0.8587 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4453, allocations: 68.36 kB / 0.8588 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.4462, allocations: 0.7031 MB / 0.8595 GB, free: 28.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.4463, allocations: 126.4 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4464, allocations: 23.69 kB / 0.8596 GB, free: 28.19 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.4464, allocations: 0 / 0.8596 GB, free: 28.19 MB / 490.8 MB Notification: Performance of Templates: time 0.004355/0.4507, allocations: 2.94 MB / 0.8625 GB, free: 27.98 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N06A_Antidepressants.N06AG03_Toloxatone.Toloxatone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8635388454422355]