Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.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.002548/0.002548, 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.002965/0.002965, allocations: 219.6 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.778/1.778, allocations: 230.6 MB / 256 MB, free: 9.59 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.426/1.426, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap") [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.006046/0.006046, allocations: 78 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1833, allocations: 73.99 MB / 0.8472 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap): time 0.002114/0.1854, allocations: 0.6149 MB / 0.8478 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.424e-05/0.1854, allocations: 16.41 kB / 0.8478 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.1855, allocations: 0.6875 kB / 0.8478 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1855, allocations: 0 / 0.8478 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1855, allocations: 4.562 kB / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.607e-05/0.1856, allocations: 0 / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.1857, allocations: 16.58 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.1857, allocations: 4 kB / 0.8479 GB, free: 4.211 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.1857, allocations: 4.578 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.1858, allocations: 16.58 kB / 0.8479 GB, free: 4.191 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1858, allocations: 0 / 0.8479 GB, free: 4.191 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.1858, allocations: 4.688 kB / 0.8479 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.1859, allocations: 3.938 kB / 0.8479 GB, free: 4.184 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.1859, allocations: 0.5938 kB / 0.8479 GB, free: 4.184 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.186, allocations: 16.55 kB / 0.8479 GB, free: 4.168 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.186, allocations: 0 / 0.8479 GB, free: 4.168 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.186, allocations: 0.5 kB / 0.8479 GB, free: 4.168 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.186, allocations: 0.625 kB / 0.8479 GB, free: 4.168 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.0004697/0.1864, allocations: 254.9 kB / 0.8481 GB, free: 3.887 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1865, allocations: 8.031 kB / 0.8482 GB, free: 3.879 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.1865, allocations: 5.531 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1867, allocations: 122.9 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1867, allocations: 4.375 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1867, allocations: 0.9688 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1868, allocations: 38.89 kB / 0.8483 GB, free: 3.684 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1868, allocations: 4.125 kB / 0.8483 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1868, allocations: 4.438 kB / 0.8483 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1868, allocations: 8.547 kB / 0.8483 GB, free: 3.668 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.1869, allocations: 12 kB / 0.8483 GB, free: 3.656 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1871, allocations: 106 kB / 0.8484 GB, free: 3.523 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1873, allocations: 43.14 kB / 0.8485 GB, free: 3.473 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.1873, allocations: 17.61 kB / 0.8485 GB, free: 3.453 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1873, allocations: 4 kB / 0.8485 GB, free: 3.449 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1874, allocations: 31.06 kB / 0.8485 GB, free: 3.41 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1874, allocations: 0.625 kB / 0.8485 GB, free: 3.41 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001825/0.1875, allocations: 65.55 kB / 0.8486 GB, free: 3.34 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1876, allocations: 56.09 kB / 0.8487 GB, free: 3.273 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.1877, allocations: 97.84 kB / 0.8487 GB, free: 3.168 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1877, allocations: 30.48 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.1878, allocations: 84.14 kB / 0.8489 GB, free: 3.047 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1878, allocations: 8.562 kB / 0.8489 GB, free: 3.039 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1878, allocations: 17.72 kB / 0.8489 GB, free: 3.016 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.188, allocations: 315.5 kB / 0.8492 GB, free: 2.699 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.188, allocations: 8.875 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.188, allocations: 4 kB / 0.8492 GB, free: 2.688 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.1881, allocations: 20.86 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1881, allocations: 0.6875 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.841e-05/0.1882, allocations: 54.84 kB / 0.8493 GB, free: 2.605 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1882, allocations: 8 kB / 0.8493 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1882, allocations: 0 / 0.8493 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1882, allocations: 3.938 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.1883, allocations: 4.938 kB / 0.8493 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1883, allocations: 4.641 kB / 0.8493 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.1883, allocations: 7.953 kB / 0.8493 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1883, allocations: 6.031 kB / 0.8493 GB, free: 2.574 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.141e-05/0.1884, allocations: 105.8 kB / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.1884, allocations: 4 kB / 0.8494 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.1884, allocations: 7.688 kB / 0.8494 GB, free: 2.449 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1884, allocations: 3.938 kB / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1884, allocations: 2.188 kB / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1884, allocations: 0 / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1886, allocations: 113.2 kB / 0.8495 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1886, allocations: 3.938 kB / 0.8495 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1886, allocations: 4 kB / 0.8495 GB, free: 2.297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.1886, allocations: 0 / 0.8495 GB, free: 2.297 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1886, allocations: 0.875 kB / 0.8495 GB, free: 2.297 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1886, allocations: 4 kB / 0.8495 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.1886, allocations: 12.47 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1887, allocations: 77.08 kB / 0.8496 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.1887, allocations: 2.375 kB / 0.8496 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.1888, allocations: 0 / 0.8496 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.1888, allocations: 7.984 kB / 0.8496 GB, free: 2.18 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.1888, allocations: 7.938 kB / 0.8496 GB, free: 2.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1888, allocations: 0 / 0.8496 GB, free: 2.172 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.1889, allocations: 79.28 kB / 0.8497 GB, free: 2.094 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1889, allocations: 0.7188 kB / 0.8497 GB, free: 2.094 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001725/0.189, allocations: 4 kB / 0.8497 GB, free: 2.09 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.0001282/0.1892, allocations: 108.3 kB / 0.8498 GB, free: 1.973 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.1893, allocations: 16.31 kB / 0.8498 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1893, allocations: 0.5938 kB / 0.8498 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.1893, allocations: 16.48 kB / 0.8499 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1894, allocations: 0.5 kB / 0.8499 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.1897, allocations: 117.8 kB / 0.85 GB, free: 1.801 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.054e-05/0.1898, allocations: 64.09 kB / 0.85 GB, free: 1.719 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.1898, allocations: 0 / 0.85 GB, free: 1.719 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1898, allocations: 7.969 kB / 0.85 GB, free: 1.711 MB / 474.8 MB Notification: Performance of SimCode: time 3.81e-07/0.1898, allocations: 0.5938 kB / 0.85 GB, free: 1.711 MB / 474.8 MB Notification: Performance of Templates: time 0.002962/0.1928, allocations: 421.5 kB / 0.8504 GB, free: 1.367 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.3034105089027435]