Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.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.002504/0.002504, 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.003173/0.003173, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.664/1.664, allocations: 230.6 MB / 256 MB, free: 9.562 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.506/1.506, allocations: 316.7 MB / 0.6144 GB, free: 93.26 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.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc") translateModel(Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc") [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.003857/0.003857, allocations: 77.59 kB / 0.7749 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.154, allocations: 73.99 MB / 0.8472 GB, free: 5.016 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc): time 0.002245/0.1563, allocations: 0.6029 MB / 0.8478 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.195e-05/0.1563, allocations: 16.58 kB / 0.8478 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.1563, allocations: 0 / 0.8478 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1564, allocations: 4.75 kB / 0.8478 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.1564, allocations: 3.938 kB / 0.8478 GB, free: 4.402 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.741e-05/0.1565, allocations: 4.641 kB / 0.8478 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.1565, allocations: 12 kB / 0.8478 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1566, allocations: 4.766 kB / 0.8478 GB, free: 4.383 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.1566, allocations: 4 kB / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.1567, allocations: 16.48 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1567, allocations: 0.5938 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.1567, allocations: 0 / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.1567, allocations: 8.688 kB / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.1567, allocations: 0 / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.725e-05/0.1568, allocations: 16.62 kB / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1568, allocations: 4 kB / 0.8479 GB, free: 4.336 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1568, allocations: 0.625 kB / 0.8479 GB, free: 4.336 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1568, allocations: 0 / 0.8479 GB, free: 4.336 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.0004602/0.1573, allocations: 252.8 kB / 0.8481 GB, free: 4.059 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1573, allocations: 12.62 kB / 0.8481 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1573, allocations: 8.922 kB / 0.8481 GB, free: 4.039 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1575, allocations: 118.9 kB / 0.8483 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1575, allocations: 0.875 kB / 0.8483 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1575, allocations: 4.938 kB / 0.8483 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1576, allocations: 38.25 kB / 0.8483 GB, free: 3.852 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1576, allocations: 0.75 kB / 0.8483 GB, free: 3.852 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1576, allocations: 4.562 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1576, allocations: 7.984 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.1577, allocations: 4.625 kB / 0.8483 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1579, allocations: 113.4 kB / 0.8484 GB, free: 3.695 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1581, allocations: 51.08 kB / 0.8485 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.1581, allocations: 14.2 kB / 0.8485 GB, free: 3.621 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1581, allocations: 0 / 0.8485 GB, free: 3.621 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1582, allocations: 34.56 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1582, allocations: 1.094 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.00017/0.1583, allocations: 53.72 kB / 0.8486 GB, free: 3.52 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.1584, allocations: 55.34 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.1585, allocations: 107.8 kB / 0.8487 GB, free: 3.34 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1585, allocations: 25.7 kB / 0.8487 GB, free: 3.309 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1586, allocations: 84.14 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1586, allocations: 11.91 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1586, allocations: 17.72 kB / 0.8489 GB, free: 3.188 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1588, allocations: 315.3 kB / 0.8492 GB, free: 2.871 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.1588, allocations: 10.38 kB / 0.8492 GB, free: 2.863 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.1589, allocations: 4 kB / 0.8492 GB, free: 2.859 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.1589, allocations: 20.84 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1589, allocations: 256 / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.914e-05/0.159, allocations: 45.7 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.159, allocations: 7.938 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.159, allocations: 6.344 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.159, allocations: 7.938 kB / 0.8493 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.1591, allocations: 7.984 kB / 0.8493 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1591, allocations: 3.984 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.1591, allocations: 7.953 kB / 0.8493 GB, free: 2.746 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1591, allocations: 4 kB / 0.8493 GB, free: 2.742 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 8.813e-05/0.1592, allocations: 108.1 kB / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1592, allocations: 0 / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.1592, allocations: 11.69 kB / 0.8494 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1592, allocations: 4.875 kB / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1592, allocations: 0 / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1592, allocations: 0 / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1594, allocations: 117.8 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1594, allocations: 0.6875 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1594, allocations: 4 kB / 0.8495 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1594, allocations: 0.7188 kB / 0.8495 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.1594, allocations: 3.938 kB / 0.8495 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1594, allocations: 0.625 kB / 0.8495 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1594, allocations: 7.938 kB / 0.8495 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1595, allocations: 85.92 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.1595, allocations: 4.578 kB / 0.8496 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.1595, allocations: 0 / 0.8496 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.1596, allocations: 0.5625 kB / 0.8496 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1596, allocations: 7.938 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1596, allocations: 0.5 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.1597, allocations: 83.88 kB / 0.8497 GB, free: 2.258 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0.5938 kB / 0.8497 GB, free: 2.258 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001664/0.1598, allocations: 4 kB / 0.8497 GB, free: 2.254 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.0001235/0.1599, allocations: 104.3 kB / 0.8498 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.16, allocations: 19.94 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.16, allocations: 0.7188 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.1601, allocations: 16.61 kB / 0.8498 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1602, allocations: 3.516 kB / 0.8498 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.1605, allocations: 115 kB / 0.85 GB, free: 1.969 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.642e-05/0.1606, allocations: 63.34 kB / 0.85 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.511e-05/0.1606, allocations: 0 / 0.85 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1606, allocations: 7.438 kB / 0.85 GB, free: 1.879 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1606, allocations: 2.562 kB / 0.85 GB, free: 1.879 MB / 474.8 MB Notification: Performance of Templates: time 0.002816/0.1634, allocations: 425.8 kB / 0.8504 GB, free: 1.527 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.G_GenitoUrinarySystemAndSexHormones.G04B_Urologicals.G04BD07_Tolterodine.Tolterodine_Sano2023_PD_mcc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.003194515826181]