Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.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.0006699/0.0006699, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000897/0.001567, 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.0006975/0.0006975, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009313/0.001629, 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 0.9319/0.9319, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09935/1.031, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.7911/0.7911, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03325/0.8244, allocations: 21.05 MB / 0.5432 GB, free: 31.94 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.N05AD01_Haloperidol.Haloperidol_Franken2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.194e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference): time 0.00327/0.003292, allocations: 2.496 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006355/0.009647, allocations: 6.692 MB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.009851, allocations: 4 kB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.009962, allocations: 27.66 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.0102, allocations: 87.31 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.0104, allocations: 59.75 kB / 0.5537 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.01067, allocations: 266.6 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.01081, allocations: 34.55 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.01109, allocations: 176.2 kB / 0.5541 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.01126, allocations: 87.73 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.01129, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.01131, allocations: 16 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.01134, allocations: 31.86 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.0114, allocations: 59.88 kB / 0.5543 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.01158, allocations: 143.5 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.01159, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01159, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.0116, allocations: 0 / 0.5545 GB, free: 20.36 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005609/0.01216, allocations: 0.4976 MB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.0122, allocations: 15.84 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.01225, allocations: 24.92 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.01241, allocations: 179 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.01243, allocations: 12.61 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.01246, allocations: 16.31 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.01262, allocations: 163.4 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.01263, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.01264, allocations: 8 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.01264, allocations: 8 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.01272, allocations: 72.64 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.01312, allocations: 369 kB / 0.5558 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.01329, allocations: 115.5 kB / 0.5559 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.01333, allocations: 57.52 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.01334, allocations: 4 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.01348, allocations: 196.3 kB / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.01348, allocations: 0 / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005593/0.01404, allocations: 0.5159 MB / 0.5567 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.01407, allocations: 170.2 kB / 0.5568 GB, free: 17.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.01416, allocations: 202 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.01417, allocations: 33.7 kB / 0.557 GB, free: 17.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.0142, allocations: 116.4 kB / 0.5572 GB, free: 17.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.01423, allocations: 75.45 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.01428, allocations: 51.19 kB / 0.5573 GB, free: 17.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.01432, allocations: 338.8 kB / 0.5576 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.01437, allocations: 93 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.01443, allocations: 177.3 kB / 0.5579 GB, free: 16.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.01453, allocations: 211.8 kB / 0.5581 GB, free: 16.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01453, allocations: 0 / 0.5581 GB, free: 16.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001482/0.01468, allocations: 266.6 kB / 0.5583 GB, free: 16.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.01471, allocations: 59.41 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01472, allocations: 4 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.01473, allocations: 4 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01489, allocations: 66.08 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.0149, allocations: 11.94 kB / 0.5584 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.01498, allocations: 15.98 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01499, allocations: 15.94 kB / 0.5585 GB, free: 15.83 MB / 410.7 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.000107/0.01509, allocations: 167.6 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01511, allocations: 15.98 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.01514, allocations: 25.95 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01515, allocations: 0 / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01515, allocations: 8 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01517, allocations: 15.86 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01518, allocations: 15.92 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01521, allocations: 11.38 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01526, allocations: 7.984 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.01531, allocations: 19.97 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000186/0.01549, allocations: 275 kB / 0.559 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001879/0.01568, allocations: 419.7 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2607/0.2763, allocations: 76.8 kB / 0.5595 GB, free: 79.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001054/0.2765, allocations: 63.03 kB / 0.5596 GB, free: 79.62 MB / 410.8 MB Notification: Performance of Backend: time 4.51e-07/0.2765, allocations: 0 / 0.5596 GB, free: 79.62 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.2769, allocations: 335.2 kB / 0.5599 GB, free: 79.38 MB / 410.8 MB Notification: Performance of SimCode: time 0.005766/0.2827, allocations: 1.116 MB / 0.561 GB, free: 78.57 MB / 410.8 MB Notification: Performance of Templates: time 0.00668/0.2894, allocations: 3.857 MB / 0.5647 GB, free: 78.43 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Franken2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.086311198771]