Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.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.001845/0.001845, 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.001939/0.001939, allocations: 218.2 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.786/1.786, 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.452/1.452, allocations: 316.8 MB / 0.6144 GB, free: 93 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.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr") [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.004231/0.004231, allocations: 81.83 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1919, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr): time 0.002107/0.194, allocations: 0.6034 MB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.316e-05/0.194, allocations: 4 kB / 0.8478 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.1941, allocations: 4.469 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1941, allocations: 4.594 kB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.1941, allocations: 4.562 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.953e-05/0.1942, allocations: 3.984 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.1943, allocations: 12.53 kB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.1943, allocations: 7.984 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1943, allocations: 4.844 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.1944, allocations: 3.938 kB / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1944, allocations: 0.6875 kB / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.1944, allocations: 4 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.1944, allocations: 8.562 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1945, allocations: 8.75 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.913e-05/0.1945, allocations: 11.92 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1945, allocations: 0.75 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1945, allocations: 0 / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1945, allocations: 0 / 0.8479 GB, free: 4.242 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.0004862/0.195, allocations: 255 kB / 0.8481 GB, free: 3.961 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1951, allocations: 8.719 kB / 0.8481 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1951, allocations: 4.938 kB / 0.8481 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1953, allocations: 115 kB / 0.8482 GB, free: 3.812 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1953, allocations: 8.969 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1953, allocations: 384 / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1954, allocations: 39.09 kB / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1954, allocations: 192 / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1954, allocations: 8.453 kB / 0.8483 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1954, allocations: 0 / 0.8483 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.427e-05/0.1955, allocations: 12.73 kB / 0.8483 GB, free: 3.742 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1956, allocations: 101.3 kB / 0.8484 GB, free: 3.613 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.196, allocations: 59.19 kB / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1961, allocations: 9.516 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.1961, allocations: 0.5 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1961, allocations: 30.56 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1961, allocations: 0.5625 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001693/0.1963, allocations: 54.84 kB / 0.8486 GB, free: 3.438 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1963, allocations: 55.34 kB / 0.8486 GB, free: 3.371 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1964, allocations: 105.8 kB / 0.8487 GB, free: 3.258 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1964, allocations: 30.55 kB / 0.8487 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.1965, allocations: 84.14 kB / 0.8488 GB, free: 3.137 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1965, allocations: 11.91 kB / 0.8488 GB, free: 3.125 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1966, allocations: 15.84 kB / 0.8488 GB, free: 3.105 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1968, allocations: 318.8 kB / 0.8491 GB, free: 2.785 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.1968, allocations: 4 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.1968, allocations: 4 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.1968, allocations: 16.86 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1968, allocations: 1.906 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.39e-05/0.1969, allocations: 45.69 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1969, allocations: 11.94 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1969, allocations: 0 / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.197, allocations: 4.188 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.197, allocations: 5.125 kB / 0.8492 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.197, allocations: 4 kB / 0.8492 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.197, allocations: 0 / 0.8492 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.197, allocations: 2.562 kB / 0.8492 GB, free: 2.684 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 9.83e-05/0.1971, allocations: 114.4 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.1971, allocations: 3.953 kB / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.1972, allocations: 8 kB / 0.8494 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1972, allocations: 7.938 kB / 0.8494 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1972, allocations: 0 / 0.8494 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1972, allocations: 0 / 0.8494 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1973, allocations: 110.1 kB / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1973, allocations: 0 / 0.8495 GB, free: 2.402 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1973, allocations: 5.188 kB / 0.8495 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1973, allocations: 3.938 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1973, allocations: 4 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1973, allocations: 0.5625 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1973, allocations: 4.859 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1974, allocations: 77.05 kB / 0.8496 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.1975, allocations: 12.55 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1975, allocations: 0 / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.1975, allocations: 0.5625 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1975, allocations: 8.609 kB / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.1975, allocations: 0 / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.1976, allocations: 91.84 kB / 0.8497 GB, free: 2.184 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1976, allocations: 0 / 0.8497 GB, free: 2.184 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002418/0.1978, allocations: 4.625 kB / 0.8497 GB, free: 2.18 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.0001249/0.1979, allocations: 99.91 kB / 0.8498 GB, free: 2.074 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.439e-05/0.198, allocations: 16.52 kB / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.198, allocations: 4.531 kB / 0.8498 GB, free: 2.055 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.1981, allocations: 8 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1982, allocations: 0.5938 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.1985, allocations: 109.4 kB / 0.8499 GB, free: 1.914 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.1986, allocations: 63.91 kB / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.1986, allocations: 0.625 kB / 0.85 GB, free: 1.832 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1986, allocations: 8.031 kB / 0.85 GB, free: 1.824 MB / 474.8 MB Notification: Performance of SimCode: time 5.01e-07/0.1986, allocations: 0 / 0.85 GB, free: 1.824 MB / 474.8 MB Notification: Performance of Templates: time 0.003023/0.2017, allocations: 405.5 kB / 0.8504 GB, free: 1.496 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AK10_VilanterolAndFluticasone.Vilanterol_Kempsford2014_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.601822908967733]