Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.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.002628/0.002628, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 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.00303/0.00303, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.672/1.672, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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 1.323/1.323, allocations: 293 MB / 0.5392 GB, free: 49.77 MB / 410.7 MB " [Timeout remaining time 178] 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.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 4 kB / 0.6999 GB, free: 8.645 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.376e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.637 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp): time 0.001484/0.001518, allocations: 0.6144 MB / 0.7005 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.666e-05/0.001585, allocations: 15.92 kB / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.001619, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.001636, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.001661, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.979e-05/0.001711, allocations: 0 / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.001767, allocations: 23.86 kB / 0.7005 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.001818, allocations: 4 kB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.001855, allocations: 11.97 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.001906, allocations: 7.984 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.001929, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-06/0.001934, allocations: 4 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.00195, allocations: 7.938 kB / 0.7006 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.001967, allocations: 0 / 0.7006 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.843e-05/0.002016, allocations: 15.91 kB / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002018, allocations: 0 / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002018, allocations: 0 / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.002022, allocations: 0 / 0.7006 GB, free: 7.93 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003121/0.002334, allocations: 262.3 kB / 0.7008 GB, free: 7.641 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.002369, allocations: 8.031 kB / 0.7008 GB, free: 7.633 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.002398, allocations: 4.938 kB / 0.7008 GB, free: 7.629 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.451e-05/0.002463, allocations: 109.8 kB / 0.7009 GB, free: 7.496 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.002475, allocations: 4.375 kB / 0.7009 GB, free: 7.492 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.002483, allocations: 384 / 0.7009 GB, free: 7.492 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.002582, allocations: 38.25 kB / 0.701 GB, free: 7.449 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00259, allocations: 8.125 kB / 0.701 GB, free: 7.441 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.002598, allocations: 384 / 0.701 GB, free: 7.441 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.002602, allocations: 4.312 kB / 0.701 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.002645, allocations: 15.94 kB / 0.701 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.002753, allocations: 105.3 kB / 0.7011 GB, free: 7.289 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.002925, allocations: 46.64 kB / 0.7011 GB, free: 7.234 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.002958, allocations: 8.859 kB / 0.7012 GB, free: 7.223 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.002971, allocations: 0 / 0.7012 GB, free: 7.223 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.002983, allocations: 38.56 kB / 0.7012 GB, free: 7.176 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.002983, allocations: 3.938 kB / 0.7012 GB, free: 7.172 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.000137/0.00312, allocations: 53.81 kB / 0.7013 GB, free: 7.113 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.003145, allocations: 55.41 kB / 0.7013 GB, free: 7.047 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.003191, allocations: 109.8 kB / 0.7014 GB, free: 6.93 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.0032, allocations: 29.7 kB / 0.7014 GB, free: 6.895 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.003215, allocations: 88.12 kB / 0.7015 GB, free: 6.805 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.003238, allocations: 11.91 kB / 0.7015 GB, free: 6.793 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.003266, allocations: 21.7 kB / 0.7016 GB, free: 6.766 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.00331, allocations: 310.8 kB / 0.7018 GB, free: 6.453 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.003326, allocations: 4 kB / 0.7019 GB, free: 6.449 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.003339, allocations: 11.98 kB / 0.7019 GB, free: 6.438 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.003376, allocations: 24.8 kB / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003378, allocations: 0 / 0.7019 GB, free: 6.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.415e-05/0.003442, allocations: 45.69 kB / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.003453, allocations: 12 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.003458, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.003472, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.003517, allocations: 4 kB / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.003521, allocations: 0 / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.003543, allocations: 11.83 kB / 0.702 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003547, allocations: 4 kB / 0.702 GB, free: 6.328 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 4.511e-05/0.003592, allocations: 109.8 kB / 0.7021 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.0036, allocations: 7.938 kB / 0.7021 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.003619, allocations: 11.62 kB / 0.7021 GB, free: 6.191 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003621, allocations: 3.984 kB / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.003624, allocations: 4 kB / 0.7021 GB, free: 6.184 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.003628, allocations: 7.875 kB / 0.7021 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.539e-05/0.003683, allocations: 105.3 kB / 0.7022 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003684, allocations: 0 / 0.7022 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.003716, allocations: 4 kB / 0.7022 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.003718, allocations: 0 / 0.7022 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.003724, allocations: 3.984 kB / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.003726, allocations: 4 kB / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.003727, allocations: 0 / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.173e-05/0.003799, allocations: 77.02 kB / 0.7023 GB, free: 5.938 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.003804, allocations: 8 kB / 0.7023 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.003815, allocations: 0 / 0.7023 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.003834, allocations: 4 kB / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.003847, allocations: 256 / 0.7023 GB, free: 5.926 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.00385, allocations: 3.938 kB / 0.7023 GB, free: 5.922 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.839e-05/0.003868, allocations: 87.27 kB / 0.7024 GB, free: 5.836 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003868, allocations: 0 / 0.7024 GB, free: 5.836 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001651/0.004033, allocations: 11.94 kB / 0.7024 GB, free: 5.824 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.433e-05/0.004108, allocations: 99.25 kB / 0.7025 GB, free: 5.719 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.004187, allocations: 20.36 kB / 0.7025 GB, free: 5.699 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.004188, allocations: 4 kB / 0.7025 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.004203, allocations: 11.94 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.004354, allocations: 0.7812 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.004592, allocations: 117 kB / 0.7026 GB, free: 5.543 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.004629, allocations: 63.34 kB / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.004644, allocations: 0 / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.004664, allocations: 8.5 kB / 0.7027 GB, free: 5.453 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.004665, allocations: 0 / 0.7027 GB, free: 5.453 MB / 410.8 MB Notification: Performance of Templates: time 0.002666/0.007331, allocations: 421.9 kB / 0.7031 GB, free: 5.098 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.491603245027363]