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.001142/0.001142, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002203/0.003345, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001209/0.001209, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002724, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.033/1.033, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.139, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.7758/0.7758, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04537/0.8212, allocations: 21.05 MB / 0.5432 GB, free: 31.93 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.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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.077e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.51 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine): time 0.00413/0.004151, allocations: 3.319 MB / 0.5478 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.01449, allocations: 6.797 MB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.01497, allocations: 4 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.01519, allocations: 35.64 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.01564, allocations: 134.9 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.01595, allocations: 87.78 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.01653, allocations: 441.8 kB / 0.5551 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.01674, allocations: 67.38 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.01716, allocations: 258.6 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.01742, allocations: 131.6 kB / 0.5556 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.01747, allocations: 36 kB / 0.5556 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.01752, allocations: 32 kB / 0.5556 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.01756, allocations: 43.81 kB / 0.5557 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.01768, allocations: 107.8 kB / 0.5558 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.018, allocations: 231.2 kB / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.01801, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01802, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.01803, allocations: 0 / 0.556 GB, free: 18.79 MB / 410.7 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.0008275/0.01886, allocations: 0.6434 MB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.0189, allocations: 11.89 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.01899, allocations: 44.59 kB / 0.5567 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.01923, allocations: 193.5 kB / 0.5569 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.01926, allocations: 16.88 kB / 0.5569 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.0193, allocations: 28.31 kB / 0.5569 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.01959, allocations: 250.1 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01961, allocations: 7.969 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.01963, allocations: 12 kB / 0.5572 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.01963, allocations: 8 kB / 0.5572 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.01979, allocations: 134.6 kB / 0.5573 GB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.02051, allocations: 473.9 kB / 0.5578 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.02078, allocations: 176 kB / 0.5579 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.02086, allocations: 111.1 kB / 0.558 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.02088, allocations: 7.938 kB / 0.558 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.02112, allocations: 319.4 kB / 0.5583 GB, free: 16.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.02112, allocations: 0 / 0.5583 GB, free: 16.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.00113/0.02225, allocations: 0.8384 MB / 0.5592 GB, free: 15.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.02231, allocations: 277 kB / 0.5594 GB, free: 14.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3004/0.3227, allocations: 227.8 kB / 0.5596 GB, free: 79.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.3228, allocations: 41.94 kB / 0.5597 GB, free: 79.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.3229, allocations: 137.8 kB / 0.5598 GB, free: 79.74 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.323, allocations: 121.1 kB / 0.5599 GB, free: 79.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.3231, allocations: 74.42 kB / 0.56 GB, free: 79.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.3232, allocations: 346.2 kB / 0.5603 GB, free: 79.38 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3233, allocations: 147.4 kB / 0.5605 GB, free: 79.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3235, allocations: 249.2 kB / 0.5607 GB, free: 79.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3237, allocations: 339.3 kB / 0.561 GB, free: 78.79 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3237, allocations: 1.25 kB / 0.561 GB, free: 78.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003851/0.3241, allocations: 391.3 kB / 0.5614 GB, free: 78.57 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.3242, allocations: 92.78 kB / 0.5615 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3242, allocations: 4.75 kB / 0.5615 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3242, allocations: 5.906 kB / 0.5615 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.3246, allocations: 111.3 kB / 0.5616 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3246, allocations: 5.5 kB / 0.5616 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3247, allocations: 21.31 kB / 0.5616 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3248, allocations: 14.88 kB / 0.5617 GB, free: 78.48 MB / 410.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.0001724/0.3249, allocations: 216.1 kB / 0.5619 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.325, allocations: 34.69 kB / 0.5619 GB, free: 78.3 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.325, allocations: 35.78 kB / 0.5619 GB, free: 78.29 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.325, allocations: 3.203 kB / 0.5619 GB, free: 78.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.325, allocations: 0.6562 kB / 0.5619 GB, free: 78.29 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.3251, allocations: 32.78 kB / 0.562 GB, free: 78.28 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3251, allocations: 14.16 kB / 0.562 GB, free: 78.28 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.3252, allocations: 14.2 kB / 0.562 GB, free: 78.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.3253, allocations: 16.55 kB / 0.562 GB, free: 78.28 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.3253, allocations: 29.19 kB / 0.562 GB, free: 78.28 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003908/0.3257, allocations: 400 kB / 0.5624 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004692/0.3262, allocations: 0.6022 MB / 0.563 GB, free: 77.64 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001433/0.3263, allocations: 151 kB / 0.5631 GB, free: 77.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.3264, allocations: 81 kB / 0.5632 GB, free: 77.56 MB / 410.8 MB Notification: Performance of Backend: time 8.02e-07/0.3264, allocations: 0 / 0.5632 GB, free: 77.56 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.3269, allocations: 484 kB / 0.5637 GB, free: 77.22 MB / 410.8 MB Notification: Performance of SimCode: time 0.007872/0.3348, allocations: 1.364 MB / 0.565 GB, free: 76.27 MB / 410.8 MB Notification: Performance of Templates: time 0.00859/0.3434, allocations: 5.543 MB / 0.5704 GB, free: 75.08 MB / 410.8 MB " [Timeout remaining time 660] 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH04_Quetiapine.Quetiapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.720005382783711]