Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.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.000974/0.000974, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.001835/0.001835, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.9074/0.9074, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7207/0.7207, allocations: 291.2 MB / 0.5382 GB, free: 51.46 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.N05AL05_Amisulpride.Amisulpride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.3e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride): time 0.002553/0.002576, allocations: 3.015 MB / 0.7004 GB, free: 7.285 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.007049, allocations: 6.65 MB / 0.7068 GB, free: 0.625 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.007176, allocations: 4 kB / 0.7069 GB, free: 0.6211 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.007314, allocations: 35.58 kB / 0.7069 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.007547, allocations: 130.9 kB / 0.707 GB, free: 468 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.007769, allocations: 91.77 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.00804, allocations: 429.9 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.008202, allocations: 66.06 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.0084, allocations: 227.5 kB / 0.7078 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.008613, allocations: 123.6 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.00865, allocations: 35.94 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.644e-05/0.008686, allocations: 32 kB / 0.708 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.008732, allocations: 67.69 kB / 0.708 GB, free: 15.41 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.008833, allocations: 127.7 kB / 0.7082 GB, free: 15.28 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.00912, allocations: 355 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009122, allocations: 0 / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.392e-06/0.009123, allocations: 4 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.009128, allocations: 0 / 0.7085 GB, free: 14.93 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.0008335/0.009961, allocations: 0.6037 MB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.01, allocations: 8.031 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.01007, allocations: 40.7 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.01032, allocations: 220.7 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.01035, allocations: 20.88 kB / 0.7094 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.01038, allocations: 20.33 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.01077, allocations: 322.1 kB / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01078, allocations: 0 / 0.7097 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.0108, allocations: 8 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01081, allocations: 4 kB / 0.7097 GB, free: 13.6 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.01111, allocations: 252.2 kB / 0.7099 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.01187, allocations: 0.6465 MB / 0.7106 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.01229, allocations: 274 kB / 0.7108 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.01245, allocations: 160.4 kB / 0.711 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01246, allocations: 4 kB / 0.711 GB, free: 12.19 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.0128, allocations: 370.2 kB / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.01281, allocations: 0 / 0.7113 GB, free: 11.78 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001341/0.01415, allocations: 1.143 MB / 0.7125 GB, free: 10.54 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.01424, allocations: 221.6 kB / 0.7127 GB, free: 10.28 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.01443, allocations: 245.9 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.01445, allocations: 33.7 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.01454, allocations: 156.8 kB / 0.7131 GB, free: 9.832 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.01461, allocations: 123.1 kB / 0.7132 GB, free: 9.711 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.01468, allocations: 70.19 kB / 0.7133 GB, free: 9.637 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.01478, allocations: 350.7 kB / 0.7136 GB, free: 9.285 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.01499, allocations: 227.8 kB / 0.7138 GB, free: 9.043 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.01522, allocations: 322.8 kB / 0.7141 GB, free: 8.66 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.01559, allocations: 454.2 kB / 0.7146 GB, free: 8.148 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01559, allocations: 0 / 0.7146 GB, free: 8.148 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005175/0.01611, allocations: 0.5846 MB / 0.7151 GB, free: 7.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.01616, allocations: 93.97 kB / 0.7152 GB, free: 7.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01617, allocations: 4 kB / 0.7152 GB, free: 7.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.01619, allocations: 4 kB / 0.7152 GB, free: 7.402 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.01636, allocations: 80.23 kB / 0.7153 GB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.01637, allocations: 11.98 kB / 0.7153 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01648, allocations: 23.98 kB / 0.7153 GB, free: 7.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.0165, allocations: 16 kB / 0.7154 GB, free: 7.273 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.0001871/0.01669, allocations: 239.6 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.01672, allocations: 31.81 kB / 0.7156 GB, free: 6.988 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.01676, allocations: 30.95 kB / 0.7157 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01676, allocations: 8 kB / 0.7157 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01677, allocations: 0 / 0.7157 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01677, allocations: 0 / 0.7157 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.01752, allocations: 0.8212 MB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01752, allocations: 3.938 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.01767, allocations: 55.95 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01768, allocations: 0 / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.0177, allocations: 12 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.0177, allocations: 11.94 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.0177, allocations: 3.984 kB / 0.7165 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.01837, allocations: 0.764 MB / 0.7173 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.01844, allocations: 55.77 kB / 0.7173 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.01848, allocations: 12 kB / 0.7174 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.01858, allocations: 15.98 kB / 0.7174 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.01866, allocations: 35.89 kB / 0.7174 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.01868, allocations: 23.92 kB / 0.7174 GB, free: 5.027 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001149/0.01879, allocations: 177.2 kB / 0.7176 GB, free: 4.855 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01879, allocations: 0 / 0.7176 GB, free: 4.855 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002225/0.01901, allocations: 92 kB / 0.7177 GB, free: 4.766 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.0001123/0.01913, allocations: 124 kB / 0.7178 GB, free: 4.641 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.01964, allocations: 0.5887 MB / 0.7184 GB, free: 3.984 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01964, allocations: 0 / 0.7184 GB, free: 3.984 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.01986, allocations: 310.1 kB / 0.7187 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.0003384/0.0202, allocations: 98.52 kB / 0.7188 GB, free: 3.547 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02122, allocations: 0.8946 MB / 0.7196 GB, free: 2.609 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.02132, allocations: 168.2 kB / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.02139, allocations: 28.5 kB / 0.7198 GB, free: 2.395 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.02139, allocations: 0 / 0.7198 GB, free: 2.395 MB / 426.8 MB Notification: Performance of Templates: time 0.1863/0.2077, allocations: 4.364 MB / 0.7241 GB, free: 36.51 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AL05_Amisulpride.Amisulpride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.446330733597279]