Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.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.0009561/0.0009561, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009303/0.0009303, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9819/0.9819, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7668/0.7668, allocations: 291.1 MB / 0.5382 GB, free: 51.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.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.953e-05/4.232e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride): time 0.003034/0.003076, allocations: 3.027 MB / 0.7003 GB, free: 7.289 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.007855, allocations: 6.643 MB / 0.7068 GB, free: 0.6367 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.008134, allocations: 3.938 kB / 0.7068 GB, free: 0.6328 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.008305, allocations: 43.62 kB / 0.7069 GB, free: 0.5898 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.008582, allocations: 130.9 kB / 0.707 GB, free: 472 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.00885, allocations: 83.78 kB / 0.7071 GB, free: 388 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.009152, allocations: 429.8 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.009327, allocations: 66.08 kB / 0.7075 GB, free: 15.89 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.009532, allocations: 227.4 kB / 0.7077 GB, free: 15.67 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.009754, allocations: 123.6 kB / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.009795, allocations: 32 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/0.009828, allocations: 32 kB / 0.7079 GB, free: 15.49 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.009874, allocations: 67.69 kB / 0.708 GB, free: 15.42 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.009984, allocations: 123.8 kB / 0.7081 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.0103, allocations: 363 kB / 0.7085 GB, free: 14.95 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.01031, allocations: 0 / 0.7085 GB, free: 14.95 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01031, allocations: 0 / 0.7085 GB, free: 14.95 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.01031, allocations: 4 kB / 0.7085 GB, free: 14.94 MB / 426.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.0008522/0.01117, allocations: 0.6037 MB / 0.709 GB, free: 14.29 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.01122, allocations: 11.89 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.01128, allocations: 40.64 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.01154, allocations: 228.7 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.01157, allocations: 12.88 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.01161, allocations: 32.31 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.01199, allocations: 306.2 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01201, allocations: 4 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.01203, allocations: 8 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01204, allocations: 8 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.01235, allocations: 252.2 kB / 0.7099 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/0.01318, allocations: 0.6504 MB / 0.7105 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.01363, allocations: 276.3 kB / 0.7108 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01379, allocations: 160.4 kB / 0.711 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01381, allocations: 0 / 0.711 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.01417, allocations: 367.5 kB / 0.7113 GB, free: 11.79 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.01417, allocations: 0 / 0.7113 GB, free: 11.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001528/0.0157, allocations: 1.135 MB / 0.7124 GB, free: 10.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.01579, allocations: 221.6 kB / 0.7126 GB, free: 10.29 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01601, allocations: 253.9 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.01603, allocations: 37.7 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.01613, allocations: 156.9 kB / 0.7131 GB, free: 9.832 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.01619, allocations: 123 kB / 0.7132 GB, free: 9.711 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.01628, allocations: 70.2 kB / 0.7132 GB, free: 9.637 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.01637, allocations: 346.7 kB / 0.7136 GB, free: 9.289 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.01658, allocations: 219.8 kB / 0.7138 GB, free: 9.055 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.01683, allocations: 326.9 kB / 0.7141 GB, free: 8.668 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.01721, allocations: 458.1 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01721, allocations: 0 / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005565/0.01777, allocations: 0.5807 MB / 0.7151 GB, free: 7.527 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.01783, allocations: 93.09 kB / 0.7152 GB, free: 7.418 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01784, allocations: 4 kB / 0.7152 GB, free: 7.414 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01786, allocations: 4 kB / 0.7152 GB, free: 7.41 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.01804, allocations: 80.23 kB / 0.7153 GB, free: 7.332 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01805, allocations: 7.938 kB / 0.7153 GB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01817, allocations: 23.98 kB / 0.7153 GB, free: 7.301 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.0182, allocations: 19.98 kB / 0.7153 GB, free: 7.281 MB / 426.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.0002515/0.01845, allocations: 231.7 kB / 0.7155 GB, free: 7.035 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.01848, allocations: 31.81 kB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.01853, allocations: 42.95 kB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01853, allocations: 4 kB / 0.7156 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.01854, allocations: 4 kB / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01855, allocations: 0 / 0.7156 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.01937, allocations: 0.8168 MB / 0.7164 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01937, allocations: 4 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.01954, allocations: 55.91 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01955, allocations: 4 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.01957, allocations: 15.98 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.01957, allocations: 0 / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01957, allocations: 0 / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.02025, allocations: 0.7677 MB / 0.7172 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.02033, allocations: 63.7 kB / 0.7173 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.02037, allocations: 12 kB / 0.7173 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02047, allocations: 19.98 kB / 0.7173 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.02055, allocations: 27.94 kB / 0.7174 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02057, allocations: 19.94 kB / 0.7174 GB, free: 5.039 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001262/0.0207, allocations: 185.2 kB / 0.7176 GB, free: 4.859 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0207, allocations: 0 / 0.7176 GB, free: 4.859 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002416/0.02094, allocations: 84 kB / 0.7176 GB, free: 4.777 MB / 426.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.0001277/0.02106, allocations: 129.1 kB / 0.7178 GB, free: 4.648 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.02157, allocations: 0.5884 MB / 0.7183 GB, free: 3.992 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02157, allocations: 0 / 0.7183 GB, free: 3.992 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.0218, allocations: 318 kB / 0.7186 GB, free: 3.645 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.02217, allocations: 84.83 kB / 0.7187 GB, free: 3.559 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02329, allocations: 0.8947 MB / 0.7196 GB, free: 2.621 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02339, allocations: 172.2 kB / 0.7198 GB, free: 2.43 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.02346, allocations: 32.5 kB / 0.7198 GB, free: 2.398 MB / 426.8 MB Notification: Performance of SimCode: time 7.31e-07/0.02346, allocations: 0 / 0.7198 GB, free: 2.398 MB / 426.8 MB Notification: Performance of Templates: time 0.2028/0.2263, allocations: 4.367 MB / 0.7241 GB, free: 36.21 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL01_Sulpiride.Sulpiride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.659535578452051]