Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.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.001848/0.001848, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002/0.002, allocations: 214.5 kB / 22.25 MB, free: 3.566 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.841/1.841, allocations: 230.6 MB / 256 MB, free: 9.625 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.464/1.464, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare") [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.004467/0.004467, allocations: 73.77 kB / 0.7749 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.17, allocations: 73.99 MB / 0.8472 GB, free: 4.965 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare): time 0.001991/0.172, allocations: 0.5949 MB / 0.8478 GB, free: 4.383 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.598e-05/0.172, allocations: 4.594 kB / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.1721, allocations: 0 / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1721, allocations: 4.625 kB / 0.8478 GB, free: 4.375 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.1721, allocations: 0.5625 kB / 0.8478 GB, free: 4.375 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.852e-05/0.1722, allocations: 7.984 kB / 0.8478 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.1723, allocations: 20.45 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1723, allocations: 0.625 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.1723, allocations: 4 kB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.1724, allocations: 12.67 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1724, allocations: 0 / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-06/0.1724, allocations: 0.5938 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1724, allocations: 3.984 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1725, allocations: 12.59 kB / 0.8478 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.1726, allocations: 12.55 kB / 0.8479 GB, free: 4.305 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1726, allocations: 0 / 0.8479 GB, free: 4.305 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1726, allocations: 0.6875 kB / 0.8479 GB, free: 4.305 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1726, allocations: 0 / 0.8479 GB, free: 4.305 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004905/0.1731, allocations: 254.9 kB / 0.8481 GB, free: 4.023 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.1731, allocations: 8.781 kB / 0.8481 GB, free: 4.016 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1731, allocations: 4.938 kB / 0.8481 GB, free: 4.012 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1733, allocations: 115.1 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1733, allocations: 0.9688 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1733, allocations: 384 / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1734, allocations: 42.77 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1735, allocations: 0.8125 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1735, allocations: 3.938 kB / 0.8483 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1735, allocations: 0.6562 kB / 0.8483 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.1735, allocations: 7.984 kB / 0.8483 GB, free: 3.816 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1737, allocations: 109.9 kB / 0.8484 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.1741, allocations: 55.31 kB / 0.8484 GB, free: 3.617 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.1741, allocations: 9.484 kB / 0.8484 GB, free: 3.605 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.1741, allocations: 4 kB / 0.8484 GB, free: 3.602 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1742, allocations: 35.12 kB / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1742, allocations: 0 / 0.8485 GB, free: 3.559 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.1743, allocations: 50.31 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1744, allocations: 55.97 kB / 0.8486 GB, free: 3.438 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1745, allocations: 101.8 kB / 0.8487 GB, free: 3.328 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1745, allocations: 26.27 kB / 0.8487 GB, free: 3.297 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1746, allocations: 84.64 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1746, allocations: 8.484 kB / 0.8488 GB, free: 3.203 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1746, allocations: 13.72 kB / 0.8488 GB, free: 3.184 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003489/0.175, allocations: 319.5 kB / 0.8491 GB, free: 2.863 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.175, allocations: 4 kB / 0.8491 GB, free: 2.859 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.175, allocations: 8.594 kB / 0.8491 GB, free: 2.852 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.1751, allocations: 17.14 kB / 0.8491 GB, free: 2.832 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1751, allocations: 4.625 kB / 0.8491 GB, free: 2.828 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.449e-05/0.1752, allocations: 54.25 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1752, allocations: 4 kB / 0.8492 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1752, allocations: 0.6875 kB / 0.8492 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1752, allocations: 3.938 kB / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.1752, allocations: 4.625 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1753, allocations: 0.625 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.1753, allocations: 3.984 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1753, allocations: 4.656 kB / 0.8492 GB, free: 2.75 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 (3): * Single equations (assignments): 3 * 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 0.0001159/0.1754, allocations: 114.4 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.1754, allocations: 4 kB / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.1754, allocations: 4.312 kB / 0.8493 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1754, allocations: 4.562 kB / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1754, allocations: 0 / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1754, allocations: 0.625 kB / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1756, allocations: 109.3 kB / 0.8494 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1756, allocations: 4.812 kB / 0.8494 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.1756, allocations: 8.625 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1756, allocations: 0 / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1756, allocations: 0.625 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1756, allocations: 0 / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.1756, allocations: 4.531 kB / 0.8495 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.1757, allocations: 73.7 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.1757, allocations: 4 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1757, allocations: 0.6562 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.1758, allocations: 0 / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1758, allocations: 16.45 kB / 0.8495 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1758, allocations: 4 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.618e-05/0.1759, allocations: 83.81 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1759, allocations: 0.625 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001746/0.176, allocations: 4 kB / 0.8496 GB, free: 2.266 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 (3): * Single equations (assignments): 3 * 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.0001299/0.1762, allocations: 100.4 kB / 0.8497 GB, free: 2.156 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1763, allocations: 16.55 kB / 0.8497 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1763, allocations: 0 / 0.8497 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.1763, allocations: 4.5 kB / 0.8498 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1764, allocations: 10.75 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1767, allocations: 117.6 kB / 0.8499 GB, free: 1.992 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.1768, allocations: 59.94 kB / 0.8499 GB, free: 1.914 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.1768, allocations: 5.312 kB / 0.8499 GB, free: 1.91 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1768, allocations: 7.438 kB / 0.8499 GB, free: 1.902 MB / 474.8 MB Notification: Performance of SimCode: time 3.9e-07/0.1768, allocations: 0 / 0.8499 GB, free: 1.902 MB / 474.8 MB Notification: Performance of Templates: time 0.002979/0.1798, allocations: 395 kB / 0.8503 GB, free: 1.586 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AX25_Mizolastine.Mizolastine_Deschamps2000_PD_flare.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.472153509967029]