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.001877/0.001877, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002152/0.002152, allocations: 218.2 kB / 22.25 MB, free: 3.559 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 1.71/1.71, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.491/1.491, allocations: 316.7 MB / 0.6144 GB, free: 92.94 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: 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.003815/0.003815, allocations: 73.67 kB / 0.7749 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1774, allocations: 74 MB / 0.8472 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M04A_AntigoutPreparations.M04AA01_Allopurinol.Allopurinol_Aksenov2018_PD_kp): time 0.001976/0.1794, allocations: 0.6107 MB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.326e-05/0.1794, allocations: 12.55 kB / 0.8478 GB, free: 4.352 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.1795, allocations: 4 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.1795, allocations: 0.5938 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.1795, allocations: 4.438 kB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.851e-05/0.1796, allocations: 0 / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.1797, allocations: 20.69 kB / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.1797, allocations: 0 / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.1797, allocations: 12.48 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.1798, allocations: 0.5938 kB / 0.8479 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1798, allocations: 4 kB / 0.8479 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-06/0.1798, allocations: 4.469 kB / 0.8479 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1798, allocations: 12.48 kB / 0.8479 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1799, allocations: 4 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.473e-05/0.1799, allocations: 11.14 kB / 0.8479 GB, free: 4.281 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.1799, allocations: 4 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1799, allocations: 0.75 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1799, allocations: 0 / 0.8479 GB, free: 4.277 MB / 474.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.0004826/0.1804, allocations: 255.6 kB / 0.8481 GB, free: 3.996 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1805, allocations: 8.031 kB / 0.8481 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1805, allocations: 5.562 kB / 0.8481 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1807, allocations: 130.3 kB / 0.8483 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1807, allocations: 0.9688 kB / 0.8483 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1807, allocations: 5 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1808, allocations: 34.27 kB / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1808, allocations: 0.8125 kB / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1808, allocations: 7.875 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1808, allocations: 2.688 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.1809, allocations: 11.98 kB / 0.8483 GB, free: 3.77 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1811, allocations: 105.3 kB / 0.8484 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1813, allocations: 46.58 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1813, allocations: 20.98 kB / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1814, allocations: 0 / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1814, allocations: 31.34 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1814, allocations: 0 / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.1816, allocations: 62.5 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1816, allocations: 51.41 kB / 0.8486 GB, free: 3.391 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1817, allocations: 105.8 kB / 0.8487 GB, free: 3.277 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1818, allocations: 26.23 kB / 0.8488 GB, free: 3.246 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1818, allocations: 85.2 kB / 0.8488 GB, free: 3.16 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1818, allocations: 11.91 kB / 0.8489 GB, free: 3.148 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1819, allocations: 13.72 kB / 0.8489 GB, free: 3.129 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1821, allocations: 320.6 kB / 0.8492 GB, free: 2.809 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.1821, allocations: 4 kB / 0.8492 GB, free: 2.805 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.1821, allocations: 8 kB / 0.8492 GB, free: 2.797 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.1822, allocations: 17.14 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1822, allocations: 0 / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.769e-05/0.1823, allocations: 58.2 kB / 0.8493 GB, free: 2.715 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1823, allocations: 5.031 kB / 0.8493 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1823, allocations: 0 / 0.8493 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1823, allocations: 3.938 kB / 0.8493 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.1823, allocations: 9.031 kB / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1824, allocations: 3.984 kB / 0.8493 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.1824, allocations: 15.88 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1824, allocations: 1.031 kB / 0.8493 GB, free: 2.68 MB / 474.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 9.853e-05/0.1825, allocations: 110.4 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.1825, allocations: 1.156 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.1825, allocations: 7.688 kB / 0.8494 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1825, allocations: 7.938 kB / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1825, allocations: 2.031 kB / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1825, allocations: 0 / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.1827, allocations: 113.4 kB / 0.8495 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1827, allocations: 0 / 0.8495 GB, free: 2.406 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.1827, allocations: 12 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1827, allocations: 0.5938 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1827, allocations: 0 / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1827, allocations: 2.344 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1827, allocations: 3.938 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1828, allocations: 81.02 kB / 0.8496 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.1828, allocations: 4 kB / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1828, allocations: 0 / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.1829, allocations: 0 / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1829, allocations: 8.547 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1829, allocations: 4 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.183, allocations: 83.78 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0.6875 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001921/0.1831, allocations: 4 kB / 0.8497 GB, free: 2.191 MB / 474.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 0.0001292/0.1833, allocations: 103.9 kB / 0.8498 GB, free: 2.078 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1834, allocations: 20.62 kB / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1834, allocations: 0.5312 kB / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.1834, allocations: 8 kB / 0.8498 GB, free: 2.051 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1835, allocations: 8.703 kB / 0.8499 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.1839, allocations: 113.6 kB / 0.85 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.494e-05/0.1839, allocations: 59.84 kB / 0.85 GB, free: 1.828 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.955e-05/0.184, allocations: 4.594 kB / 0.85 GB, free: 1.824 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.184, allocations: 7.938 kB / 0.85 GB, free: 1.816 MB / 474.8 MB Notification: Performance of SimCode: time 5.61e-07/0.184, allocations: 0 / 0.85 GB, free: 1.816 MB / 474.8 MB Notification: Performance of Templates: time 0.003313/0.1873, allocations: 418.8 kB / 0.8504 GB, free: 1.477 MB / 474.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: 7.52243392704986]