Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.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.002448/0.002448, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.0034/0.0034, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.807/1.807, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 1.575/1.575, allocations: 316.8 MB / 0.6144 GB, free: 93.51 MB / 410.7 MB " [Timeout remaining time 178] 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.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=136800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine") [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.004183/0.004183, allocations: 81.38 kB / 0.775 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1741, allocations: 73.99 MB / 0.8473 GB, free: 5.09 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine): time 0.005147/0.1792, allocations: 3.022 MB / 0.8502 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4006/0.5798, allocations: 6.632 MB / 0.8567 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.5802, allocations: 4 kB / 0.8567 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.5804, allocations: 43.11 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.5809, allocations: 124.3 kB / 0.8569 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.5813, allocations: 82.69 kB / 0.857 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.5818, allocations: 412.8 kB / 0.8574 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.582, allocations: 55.78 kB / 0.8574 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.5822, allocations: 156.8 kB / 0.8576 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.5826, allocations: 151.3 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.5827, allocations: 30.16 kB / 0.8577 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.5827, allocations: 35.12 kB / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.5828, allocations: 63.03 kB / 0.8578 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.583, allocations: 151.8 kB / 0.858 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.5835, allocations: 358.1 kB / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5835, allocations: 0 / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5835, allocations: 2.094 kB / 0.8583 GB, free: 21.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5835, allocations: 4.562 kB / 0.8583 GB, free: 21.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001243/0.5847, allocations: 0.6082 MB / 0.8589 GB, free: 21.14 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5848, allocations: 13.56 kB / 0.8589 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.5849, allocations: 36.39 kB / 0.859 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.5853, allocations: 215.1 kB / 0.8592 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.5853, allocations: 19.59 kB / 0.8592 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.5854, allocations: 32.47 kB / 0.8592 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.586, allocations: 300.8 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.586, allocations: 1.812 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.5861, allocations: 10.31 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5861, allocations: 6.875 kB / 0.8595 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.5867, allocations: 247.8 kB / 0.8598 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.588, allocations: 0.6517 MB / 0.8604 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.5918, allocations: 265.3 kB / 0.8606 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.5921, allocations: 160.7 kB / 0.8608 GB, free: 20.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5921, allocations: 3.844 kB / 0.8608 GB, free: 20.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.5927, allocations: 374 kB / 0.8612 GB, free: 20.05 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.5927, allocations: 1.25 kB / 0.8612 GB, free: 20.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.002344/0.5951, allocations: 1.131 MB / 0.8623 GB, free: 19.51 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.5951, allocations: 224.5 kB / 0.8625 GB, free: 19.26 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.5955, allocations: 252.7 kB / 0.8627 GB, free: 19.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5955, allocations: 38.45 kB / 0.8628 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.5956, allocations: 158.8 kB / 0.8629 GB, free: 19.01 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.5957, allocations: 121.3 kB / 0.863 GB, free: 18.94 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.5958, allocations: 69.27 kB / 0.8631 GB, free: 18.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.5959, allocations: 347.6 kB / 0.8634 GB, free: 18.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.5964, allocations: 221.3 kB / 0.8636 GB, free: 18.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.5968, allocations: 325.5 kB / 0.8639 GB, free: 18.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.5976, allocations: 456.9 kB / 0.8644 GB, free: 18 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5976, allocations: 0 / 0.8644 GB, free: 18 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009684/0.5985, allocations: 0.5777 MB / 0.8649 GB, free: 17.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.5986, allocations: 92.34 kB / 0.865 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5986, allocations: 2.281 kB / 0.865 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5986, allocations: 7.359 kB / 0.865 GB, free: 17.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.599, allocations: 78.3 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.599, allocations: 6.266 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5992, allocations: 23.81 kB / 0.8651 GB, free: 17.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.5993, allocations: 21.86 kB / 0.8652 GB, free: 17.64 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0002679/0.5995, allocations: 238.8 kB / 0.8654 GB, free: 17.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.5996, allocations: 32.88 kB / 0.8654 GB, free: 17.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.5997, allocations: 33.83 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5997, allocations: 6.062 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.5997, allocations: 1.594 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5997, allocations: 1.219 kB / 0.8655 GB, free: 17.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.601, allocations: 0.8105 MB / 0.8663 GB, free: 17.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.601, allocations: 1.969 kB / 0.8663 GB, free: 17.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.6014, allocations: 64.22 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6014, allocations: 1.984 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6014, allocations: 9.438 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.6014, allocations: 6.906 kB / 0.8663 GB, free: 17.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6014, allocations: 4.969 kB / 0.8663 GB, free: 17.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.6025, allocations: 0.7691 MB / 0.8671 GB, free: 16.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.6026, allocations: 52.83 kB / 0.8671 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.6027, allocations: 15.08 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.6029, allocations: 22.53 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6031, allocations: 31.09 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.6031, allocations: 13.64 kB / 0.8672 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002133/0.6033, allocations: 183.3 kB / 0.8674 GB, free: 16.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6033, allocations: 1.344 kB / 0.8674 GB, free: 16.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004088/0.6037, allocations: 86.39 kB / 0.8675 GB, free: 16.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001594/0.6039, allocations: 127.2 kB / 0.8676 GB, free: 16.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.6047, allocations: 0.5919 MB / 0.8682 GB, free: 16.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6047, allocations: 3.75 kB / 0.8682 GB, free: 16.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.6051, allocations: 316.2 kB / 0.8685 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.6056, allocations: 95.81 kB / 0.8686 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.6074, allocations: 1.045 MB / 0.8696 GB, free: 15.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.6076, allocations: 163.9 kB / 0.8697 GB, free: 15.32 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.6078, allocations: 36.28 kB / 0.8698 GB, free: 15.31 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/0.6079, allocations: 27 kB / 0.8698 GB, free: 15.3 MB / 490.8 MB Notification: Performance of SimCode: time 8.11e-07/0.6079, allocations: 0 / 0.8698 GB, free: 15.3 MB / 490.8 MB Notification: Performance of Templates: time 0.01205/0.6199, allocations: 5.283 MB / 0.875 GB, free: 14.79 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.075436644023284]