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.001318/0.001318, allocations: 104.4 kB / 19.71 MB, free: 440 kB / 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.001521/0.001521, allocations: 217.3 kB / 23 MB, free: 2.969 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.1/1.1, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7765/0.7765, allocations: 312.3 MB / 0.6108 GB, free: 97.48 MB / 410.7 MB " [Timeout remaining time 179] 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: 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.001672/0.001672, allocations: 81.23 kB / 0.7698 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1265, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1): time 0.001455/0.1279, allocations: 0.5889 MB / 0.8426 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.896e-05/0.128, allocations: 12.64 kB / 0.8427 GB, free: 9.746 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.128, allocations: 3.938 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.128, allocations: 0.7188 kB / 0.8427 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.128, allocations: 3.938 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.446e-05/0.1281, allocations: 4.531 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.1282, allocations: 16.55 kB / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.1282, allocations: 0 / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.1282, allocations: 4.625 kB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1283, allocations: 15.92 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1283, allocations: 0.5938 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.1283, allocations: 0.9062 kB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1283, allocations: 0 / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1283, allocations: 15.91 kB / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.007e-05/0.1284, allocations: 8.703 kB / 0.8427 GB, free: 9.676 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.1284, allocations: 8 kB / 0.8427 GB, free: 9.668 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1284, allocations: 4.562 kB / 0.8427 GB, free: 9.664 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1284, allocations: 0 / 0.8427 GB, free: 9.664 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.0003362/0.1288, allocations: 247.6 kB / 0.843 GB, free: 9.391 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1288, allocations: 12.03 kB / 0.843 GB, free: 9.379 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.1288, allocations: 1.469 kB / 0.843 GB, free: 9.379 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.1289, allocations: 114.5 kB / 0.8431 GB, free: 9.242 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.1289, allocations: 4.812 kB / 0.8431 GB, free: 9.238 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1289, allocations: 0.875 kB / 0.8431 GB, free: 9.238 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.129, allocations: 34.91 kB / 0.8431 GB, free: 9.199 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.129, allocations: 4.188 kB / 0.8431 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.129, allocations: 4.5 kB / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.129, allocations: 0.5 kB / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.1291, allocations: 8 kB / 0.8432 GB, free: 9.184 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.1292, allocations: 106 kB / 0.8433 GB, free: 9.051 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.1295, allocations: 51.16 kB / 0.8433 GB, free: 8.992 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.1295, allocations: 13.5 kB / 0.8433 GB, free: 8.977 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1295, allocations: 0 / 0.8433 GB, free: 8.977 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.1295, allocations: 39.12 kB / 0.8434 GB, free: 8.93 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1295, allocations: 0.5938 kB / 0.8434 GB, free: 8.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001337/0.1297, allocations: 49.62 kB / 0.8434 GB, free: 8.875 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1297, allocations: 60.02 kB / 0.8435 GB, free: 8.805 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.1297, allocations: 106.4 kB / 0.8436 GB, free: 8.691 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.1298, allocations: 25.7 kB / 0.8436 GB, free: 8.66 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.1298, allocations: 80.73 kB / 0.8437 GB, free: 8.578 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1298, allocations: 15.88 kB / 0.8437 GB, free: 8.562 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.1298, allocations: 18.34 kB / 0.8437 GB, free: 8.539 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.1299, allocations: 311.6 kB / 0.844 GB, free: 8.227 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.1299, allocations: 8 kB / 0.844 GB, free: 8.219 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.1299, allocations: 4.531 kB / 0.844 GB, free: 8.215 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.13, allocations: 20.84 kB / 0.844 GB, free: 8.191 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.13, allocations: 0.625 kB / 0.844 GB, free: 8.191 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.906e-05/0.13, allocations: 46.28 kB / 0.8441 GB, free: 8.141 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.13, allocations: 8 kB / 0.8441 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.13, allocations: 4.734 kB / 0.8441 GB, free: 8.129 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.13, allocations: 3.938 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.463e-05/0.1301, allocations: 12.41 kB / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1301, allocations: 0.75 kB / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.1301, allocations: 0 / 0.8441 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1301, allocations: 0.75 kB / 0.8441 GB, free: 8.113 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 4.918e-05/0.1301, allocations: 109.8 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-06/0.1302, allocations: 0.5 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.1302, allocations: 12.28 kB / 0.8442 GB, free: 7.984 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1302, allocations: 3.938 kB / 0.8442 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1302, allocations: 0.5 kB / 0.8442 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1302, allocations: 0.625 kB / 0.8442 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.63e-05/0.1302, allocations: 105.3 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1302, allocations: 0.5938 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.1302, allocations: 4.625 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.1302, allocations: 0 / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1303, allocations: 4.656 kB / 0.8443 GB, free: 7.84 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.1303, allocations: 0 / 0.8443 GB, free: 7.84 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1303, allocations: 4.562 kB / 0.8443 GB, free: 7.836 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.1303, allocations: 77.61 kB / 0.8444 GB, free: 7.742 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.1303, allocations: 4 kB / 0.8444 GB, free: 7.738 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.1303, allocations: 4.609 kB / 0.8444 GB, free: 7.734 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.1303, allocations: 0 / 0.8444 GB, free: 7.734 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1304, allocations: 4.562 kB / 0.8444 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.1304, allocations: 0.8125 kB / 0.8444 GB, free: 7.73 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.1304, allocations: 83.28 kB / 0.8445 GB, free: 7.648 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1304, allocations: 4.531 kB / 0.8445 GB, free: 7.645 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001073/0.1305, allocations: 4.5 kB / 0.8445 GB, free: 7.641 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 9.12e-05/0.1306, allocations: 103.8 kB / 0.8446 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.1307, allocations: 13 kB / 0.8446 GB, free: 7.516 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1307, allocations: 0 / 0.8446 GB, free: 7.516 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.1307, allocations: 12.44 kB / 0.8446 GB, free: 7.504 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.1308, allocations: 1.812 kB / 0.8446 GB, free: 7.504 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.131, allocations: 135.3 kB / 0.8448 GB, free: 7.34 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.131, allocations: 59.86 kB / 0.8448 GB, free: 7.262 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1311, allocations: 8 kB / 0.8448 GB, free: 7.254 MB / 474.8 MB Notification: Performance of SimCode: time 9.91e-07/0.1311, allocations: 8.5 kB / 0.8448 GB, free: 7.246 MB / 474.8 MB Notification: Performance of Templates: time 0.001344/0.1324, allocations: 498.5 kB / 0.8453 GB, free: 6.777 MB / 474.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 > 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.106183901429176]