Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.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.00137/0.00137, 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.001037/0.001037, allocations: 217.3 kB / 23 MB, free: 2.938 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.9345/0.9345, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.6875/0.6875, allocations: 312.3 MB / 0.6109 GB, free: 97.81 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.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=140400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine") [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.001628/0.001628, allocations: 80.31 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1085, allocations: 73.99 MB / 0.8422 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine): time 0.002784/0.1113, allocations: 3.025 MB / 0.8451 GB, free: 7.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.1163, allocations: 6.637 MB / 0.8516 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1164, allocations: 0.5 kB / 0.8516 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1165, allocations: 43.56 kB / 0.8517 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1167, allocations: 128.8 kB / 0.8518 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1169, allocations: 80.5 kB / 0.8519 GB, free: 476 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.1172, allocations: 418 kB / 0.8523 GB, free: 56 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1173, allocations: 58.3 kB / 0.8523 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1175, allocations: 151.9 kB / 0.8525 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1177, allocations: 147.9 kB / 0.8526 GB, free: 15.7 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1177, allocations: 28 kB / 0.8526 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.1177, allocations: 40.62 kB / 0.8527 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.1178, allocations: 60.42 kB / 0.8527 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.1179, allocations: 143.3 kB / 0.8529 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1181, allocations: 363.2 kB / 0.8532 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1181, allocations: 0.625 kB / 0.8532 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1181, allocations: 3.938 kB / 0.8532 GB, free: 15.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1182, allocations: 0.5938 kB / 0.8532 GB, free: 15.08 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.0007789/0.1189, allocations: 0.6131 MB / 0.8538 GB, free: 14.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.119, allocations: 16.39 kB / 0.8538 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.119, allocations: 36.7 kB / 0.8539 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1194, allocations: 225.7 kB / 0.8541 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1194, allocations: 17.44 kB / 0.8541 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1194, allocations: 27.89 kB / 0.8541 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.1198, allocations: 297.8 kB / 0.8544 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1199, allocations: 4.625 kB / 0.8544 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1199, allocations: 16.66 kB / 0.8544 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1199, allocations: 4 kB / 0.8544 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1203, allocations: 249.7 kB / 0.8547 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.1211, allocations: 0.6476 MB / 0.8553 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.1216, allocations: 272.3 kB / 0.8556 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1218, allocations: 160.9 kB / 0.8557 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1218, allocations: 4.5 kB / 0.8557 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3063/0.4282, allocations: 369.4 kB / 0.8561 GB, free: 22.36 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.4282, allocations: 0.875 kB / 0.8561 GB, free: 22.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001378/0.4295, allocations: 1.126 MB / 0.8572 GB, free: 21.86 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4296, allocations: 226.8 kB / 0.8574 GB, free: 21.61 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4298, allocations: 246 kB / 0.8576 GB, free: 21.51 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4298, allocations: 39.11 kB / 0.8577 GB, free: 21.48 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.4299, allocations: 159.4 kB / 0.8578 GB, free: 21.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.4299, allocations: 115.5 kB / 0.8579 GB, free: 21.32 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.43, allocations: 74.8 kB / 0.858 GB, free: 21.31 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.4301, allocations: 345.3 kB / 0.8583 GB, free: 21 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4303, allocations: 227.1 kB / 0.8585 GB, free: 20.89 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.4305, allocations: 322.7 kB / 0.8588 GB, free: 20.65 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.4308, allocations: 460.2 kB / 0.8593 GB, free: 20.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4308, allocations: 2.625 kB / 0.8593 GB, free: 20.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004581/0.4312, allocations: 0.5721 MB / 0.8598 GB, free: 20.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.4313, allocations: 91.12 kB / 0.8599 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4313, allocations: 4.469 kB / 0.8599 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4313, allocations: 5.844 kB / 0.8599 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4315, allocations: 80.75 kB / 0.86 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4315, allocations: 11.53 kB / 0.86 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4316, allocations: 19.75 kB / 0.86 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4316, allocations: 19.03 kB / 0.8601 GB, free: 20.06 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.0001706/0.4318, allocations: 236.3 kB / 0.8603 GB, free: 19.88 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.4318, allocations: 31.25 kB / 0.8603 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.4319, allocations: 37.33 kB / 0.8604 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4319, allocations: 2.438 kB / 0.8604 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4319, allocations: 3.188 kB / 0.8604 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4319, allocations: 0.75 kB / 0.8604 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.4326, allocations: 0.8108 MB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4326, allocations: 7.125 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4327, allocations: 55.5 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4327, allocations: 7.812 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4327, allocations: 8.375 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4327, allocations: 4.969 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4327, allocations: 3.938 kB / 0.8612 GB, free: 19.49 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.4333, allocations: 0.7627 MB / 0.862 GB, free: 19.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.4334, allocations: 55.08 kB / 0.862 GB, free: 19.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.4334, allocations: 15.34 kB / 0.862 GB, free: 19.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4335, allocations: 19.25 kB / 0.8621 GB, free: 19.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.4336, allocations: 33.55 kB / 0.8621 GB, free: 19.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.4336, allocations: 10.38 kB / 0.8621 GB, free: 19.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001069/0.4337, allocations: 185 kB / 0.8623 GB, free: 19.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4337, allocations: 0 / 0.8623 GB, free: 19.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002212/0.434, allocations: 91.14 kB / 0.8624 GB, free: 19.04 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 8.32e-05/0.434, allocations: 124.1 kB / 0.8625 GB, free: 18.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.4345, allocations: 0.5907 MB / 0.8631 GB, free: 18.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4345, allocations: 1.875 kB / 0.8631 GB, free: 18.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4347, allocations: 315.1 kB / 0.8634 GB, free: 18.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.435, allocations: 93.89 kB / 0.8635 GB, free: 18.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4362, allocations: 1.07 MB / 0.8645 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.4363, allocations: 163.2 kB / 0.8647 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.4364, allocations: 32.67 kB / 0.8647 GB, free: 17.79 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.4364, allocations: 0 / 0.8647 GB, free: 17.79 MB / 490.8 MB Notification: Performance of Templates: time 0.005693/0.442, allocations: 4.345 MB / 0.8689 GB, free: 17.4 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH02_Clozapine.Clozapine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9421259285882115]