Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.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.001949/0.001949, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.001996/0.001996, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.592/1.592, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.417/1.417, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6998 GB, free: 8.641 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.893e-05, allocations: 6.219 kB / 0.6998 GB, free: 8.633 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1): time 0.001427/0.001456, allocations: 0.5982 MB / 0.7004 GB, free: 8.035 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.272e-05/0.001498, allocations: 4 kB / 0.7004 GB, free: 8.031 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.001529, allocations: 0 / 0.7004 GB, free: 8.031 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.001546, allocations: 3.938 kB / 0.7004 GB, free: 8.027 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.539e-05/0.001572, allocations: 0 / 0.7004 GB, free: 8.027 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.685e-05/0.001618, allocations: 3.984 kB / 0.7004 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.001674, allocations: 15.98 kB / 0.7004 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.001723, allocations: 3.938 kB / 0.7004 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.001756, allocations: 8 kB / 0.7004 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.001802, allocations: 11.97 kB / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.001828, allocations: 0 / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-06/0.001832, allocations: 0 / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.001848, allocations: 8 kB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.001866, allocations: 7.922 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.95e-05/0.001916, allocations: 11.98 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001917, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001918, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.001922, allocations: 0 / 0.7005 GB, free: 7.957 MB / 410.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.0003189/0.002241, allocations: 250.4 kB / 0.7007 GB, free: 7.68 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.002273, allocations: 11.97 kB / 0.7007 GB, free: 7.668 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.002299, allocations: 4.938 kB / 0.7007 GB, free: 7.664 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.056e-05/0.00236, allocations: 113.7 kB / 0.7008 GB, free: 7.527 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.00237, allocations: 4.375 kB / 0.7009 GB, free: 7.523 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.002377, allocations: 384 / 0.7009 GB, free: 7.523 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.002457, allocations: 42.19 kB / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.002466, allocations: 192 / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.002475, allocations: 4.375 kB / 0.7009 GB, free: 7.473 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.002479, allocations: 384 / 0.7009 GB, free: 7.473 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.002521, allocations: 7.938 kB / 0.7009 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.00263, allocations: 113.3 kB / 0.701 GB, free: 7.324 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.002969, allocations: 50.56 kB / 0.7011 GB, free: 7.266 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.002994, allocations: 8.938 kB / 0.7011 GB, free: 7.254 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.003009, allocations: 8 kB / 0.7011 GB, free: 7.246 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.003023, allocations: 34.56 kB / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.003024, allocations: 0 / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.000129/0.003153, allocations: 49.62 kB / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.00318, allocations: 55.41 kB / 0.7012 GB, free: 7.082 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.003227, allocations: 101.8 kB / 0.7013 GB, free: 6.973 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.003233, allocations: 29.64 kB / 0.7013 GB, free: 6.938 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.586e-05/0.003249, allocations: 88.12 kB / 0.7014 GB, free: 6.848 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.003269, allocations: 3.953 kB / 0.7014 GB, free: 6.844 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.003297, allocations: 17.72 kB / 0.7014 GB, free: 6.82 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.003339, allocations: 310.8 kB / 0.7017 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.003355, allocations: 12 kB / 0.7017 GB, free: 6.496 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.003366, allocations: 12.16 kB / 0.7018 GB, free: 6.484 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.003398, allocations: 16.86 kB / 0.7018 GB, free: 6.465 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0034, allocations: 0 / 0.7018 GB, free: 6.465 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.443e-05/0.003454, allocations: 49.58 kB / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.003465, allocations: 8 kB / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.003469, allocations: 0 / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.003483, allocations: 0 / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.003525, allocations: 4 kB / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.003529, allocations: 0 / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.003549, allocations: 7.938 kB / 0.7018 GB, free: 6.391 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.003554, allocations: 4 kB / 0.7018 GB, free: 6.387 MB / 410.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 3.988e-05/0.003594, allocations: 105.8 kB / 0.7019 GB, free: 6.273 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.0036, allocations: 0 / 0.7019 GB, free: 6.273 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.003625, allocations: 11.69 kB / 0.702 GB, free: 6.262 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.003626, allocations: 0 / 0.702 GB, free: 6.262 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.00363, allocations: 3.984 kB / 0.702 GB, free: 6.258 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.003633, allocations: 3.938 kB / 0.702 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.172e-05/0.003685, allocations: 105.3 kB / 0.7021 GB, free: 6.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003685, allocations: 256 / 0.7021 GB, free: 6.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.003715, allocations: 8 kB / 0.7021 GB, free: 6.113 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.003717, allocations: 8 kB / 0.7021 GB, free: 6.105 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.003723, allocations: 0 / 0.7021 GB, free: 6.105 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.003724, allocations: 3.938 kB / 0.7021 GB, free: 6.102 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.003725, allocations: 3.984 kB / 0.7021 GB, free: 6.098 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.712e-05/0.003802, allocations: 72.97 kB / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.003809, allocations: 7.984 kB / 0.7022 GB, free: 6 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.00382, allocations: 0 / 0.7022 GB, free: 6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.00384, allocations: 4 kB / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.003853, allocations: 0 / 0.7022 GB, free: 5.996 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.003856, allocations: 4 kB / 0.7022 GB, free: 5.992 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.003879, allocations: 83.22 kB / 0.7023 GB, free: 5.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.003879, allocations: 4 kB / 0.7023 GB, free: 5.906 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001714/0.004051, allocations: 3.938 kB / 0.7023 GB, free: 5.902 MB / 410.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 7.168e-05/0.004122, allocations: 107.2 kB / 0.7024 GB, free: 5.789 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.004194, allocations: 15.94 kB / 0.7024 GB, free: 5.773 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.004196, allocations: 0 / 0.7024 GB, free: 5.773 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.004209, allocations: 11.98 kB / 0.7024 GB, free: 5.762 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.004351, allocations: 3.125 kB / 0.7024 GB, free: 5.762 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.004562, allocations: 108.8 kB / 0.7025 GB, free: 5.629 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.06e-05/0.004592, allocations: 63.36 kB / 0.7026 GB, free: 5.547 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.122e-05/0.004614, allocations: 3.984 kB / 0.7026 GB, free: 5.543 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.004635, allocations: 8.5 kB / 0.7026 GB, free: 5.535 MB / 410.8 MB Notification: Performance of SimCode: time 4e-07/0.004635, allocations: 4 kB / 0.7026 GB, free: 5.531 MB / 410.8 MB Notification: Performance of Templates: time 0.002841/0.007476, allocations: 382.1 kB / 0.7029 GB, free: 5.211 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.311293405015022]