Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.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.0006833/0.0006833, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008721/0.001555, 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.0007131/0.0007131, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008458/0.001559, 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.9885/0.9885, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09086/1.079, allocations: 53.66 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.797/0.797, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03264/0.8297, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.608e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol): time 0.002944/0.00296, allocations: 2.519 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.008626, allocations: 6.688 MB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.008701, allocations: 3.938 kB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.008761, allocations: 23.72 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.008878, allocations: 87.33 kB / 0.5537 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.00899, allocations: 63.73 kB / 0.5537 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.009152, allocations: 266.6 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.009249, allocations: 30.55 kB / 0.554 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.009443, allocations: 172.3 kB / 0.5542 GB, free: 20.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.009573, allocations: 95.7 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.009596, allocations: 16 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.009615, allocations: 20 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.00964, allocations: 27.88 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.00969, allocations: 63.88 kB / 0.5544 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.009826, allocations: 135.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.009837, allocations: 4 kB / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009838, allocations: 0 / 0.5545 GB, free: 20.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.00985, allocations: 0 / 0.5545 GB, free: 20.33 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.0005009/0.01035, allocations: 0.4937 MB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.01038, allocations: 15.89 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.01042, allocations: 28.91 kB / 0.5551 GB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.01055, allocations: 183 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.01057, allocations: 8.609 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.01059, allocations: 16.38 kB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.01073, allocations: 159.4 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01074, allocations: 0 / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.01075, allocations: 4 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.01076, allocations: 4 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.01083, allocations: 88.64 kB / 0.5555 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.01116, allocations: 361 kB / 0.5558 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.0113, allocations: 108.1 kB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.01134, allocations: 58.55 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.01135, allocations: 7.984 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.01147, allocations: 199.7 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.01147, allocations: 0 / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004733/0.01194, allocations: 0.5124 MB / 0.5567 GB, free: 17.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.01197, allocations: 162.2 kB / 0.5569 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.01205, allocations: 206 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01206, allocations: 29.7 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.01209, allocations: 120.4 kB / 0.5572 GB, free: 17.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.01212, allocations: 71.45 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.01217, allocations: 51.19 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.0122, allocations: 334.8 kB / 0.5576 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.01225, allocations: 105 kB / 0.5577 GB, free: 16.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.0123, allocations: 173.3 kB / 0.5579 GB, free: 16.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.01239, allocations: 207.7 kB / 0.5581 GB, free: 16.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.0124, allocations: 0 / 0.5581 GB, free: 16.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001325/0.01253, allocations: 266.1 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.01255, allocations: 67.39 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01256, allocations: 0 / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01257, allocations: 4 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01271, allocations: 63.89 kB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01272, allocations: 7.938 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.01279, allocations: 20.2 kB / 0.5585 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.0128, allocations: 15.94 kB / 0.5585 GB, free: 15.8 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 8.862e-05/0.01289, allocations: 169.6 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.01291, allocations: 19.98 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.01293, allocations: 25.95 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01294, allocations: 0 / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01294, allocations: 0 / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01296, allocations: 15.86 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01297, allocations: 15.94 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.01299, allocations: 11.98 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.01304, allocations: 8 kB / 0.5588 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.01308, allocations: 23.94 kB / 0.5588 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001688/0.01325, allocations: 260.2 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001715/0.01342, allocations: 429.9 kB / 0.5595 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2388/0.2522, allocations: 78.5 kB / 0.5595 GB, free: 79.52 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000106/0.2523, allocations: 62.42 kB / 0.5596 GB, free: 79.52 MB / 410.8 MB Notification: Performance of Backend: time 4.51e-07/0.2523, allocations: 3.812 kB / 0.5596 GB, free: 79.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.2528, allocations: 335.9 kB / 0.5599 GB, free: 79.28 MB / 410.8 MB Notification: Performance of SimCode: time 0.00763/0.2605, allocations: 1.115 MB / 0.561 GB, free: 78.46 MB / 410.8 MB Notification: Performance of Templates: time 0.007482/0.268, allocations: 3.854 MB / 0.5648 GB, free: 78.32 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.042981758713722]