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_se_perf.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.001063/0.001063, allocations: 108.4 kB / 19.71 MB, free: 436 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.001249/0.001249, allocations: 211 kB / 23 MB, free: 2.965 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.6981/0.6981, allocations: 312.3 MB / 0.6108 GB, free: 97.56 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.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf") [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.001335/0.001335, allocations: 73.66 kB / 0.7698 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09654, allocations: 73.99 MB / 0.8421 GB, free: 10.26 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf): time 0.001265/0.09781, allocations: 0.6238 MB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.176e-05/0.09786, allocations: 8.562 kB / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.09789, allocations: 0 / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.0979, allocations: 0.5938 kB / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.09793, allocations: 3.938 kB / 0.8427 GB, free: 9.641 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.752e-05/0.09798, allocations: 12.58 kB / 0.8427 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.09803, allocations: 12.52 kB / 0.8427 GB, free: 9.617 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.09807, allocations: 3.938 kB / 0.8427 GB, free: 9.613 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.09809, allocations: 8.562 kB / 0.8428 GB, free: 9.605 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.09814, allocations: 12.55 kB / 0.8428 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.09815, allocations: 0 / 0.8428 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-06/0.09816, allocations: 0.6875 kB / 0.8428 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.09817, allocations: 4 kB / 0.8428 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.09819, allocations: 16.45 kB / 0.8428 GB, free: 9.574 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.413e-05/0.09824, allocations: 16.59 kB / 0.8428 GB, free: 9.559 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09825, allocations: 0 / 0.8428 GB, free: 9.559 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09825, allocations: 0.6875 kB / 0.8428 GB, free: 9.559 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09825, allocations: 0 / 0.8428 GB, free: 9.559 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.0002883/0.09854, allocations: 255.1 kB / 0.843 GB, free: 9.277 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.09858, allocations: 8.688 kB / 0.8431 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.0986, allocations: 4.938 kB / 0.8431 GB, free: 9.266 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.09867, allocations: 111 kB / 0.8432 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.09868, allocations: 384 / 0.8432 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.09869, allocations: 8.875 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.09877, allocations: 34.88 kB / 0.8432 GB, free: 9.086 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.09877, allocations: 192 / 0.8432 GB, free: 9.086 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.09879, allocations: 4.438 kB / 0.8432 GB, free: 9.082 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.09879, allocations: 8.438 kB / 0.8432 GB, free: 9.074 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.09882, allocations: 15.92 kB / 0.8432 GB, free: 9.059 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.09892, allocations: 105.8 kB / 0.8433 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.09907, allocations: 43.23 kB / 0.8434 GB, free: 8.875 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.0991, allocations: 17.59 kB / 0.8434 GB, free: 8.855 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.09911, allocations: 3.938 kB / 0.8434 GB, free: 8.852 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.09912, allocations: 39.22 kB / 0.8434 GB, free: 8.805 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.09912, allocations: 0.6562 kB / 0.8434 GB, free: 8.805 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000118/0.09924, allocations: 57.58 kB / 0.8435 GB, free: 8.742 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.09926, allocations: 56.02 kB / 0.8435 GB, free: 8.676 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.09932, allocations: 102.5 kB / 0.8436 GB, free: 8.566 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.09932, allocations: 25.7 kB / 0.8437 GB, free: 8.535 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.09934, allocations: 80.73 kB / 0.8437 GB, free: 8.453 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.09937, allocations: 20.52 kB / 0.8438 GB, free: 8.434 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.09938, allocations: 13.72 kB / 0.8438 GB, free: 8.414 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.09945, allocations: 315.4 kB / 0.8441 GB, free: 8.098 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.09946, allocations: 4 kB / 0.8441 GB, free: 8.094 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.09947, allocations: 8.484 kB / 0.8441 GB, free: 8.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.0995, allocations: 21.42 kB / 0.8441 GB, free: 8.062 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.0995, allocations: 0.6875 kB / 0.8441 GB, free: 8.062 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.615e-05/0.09955, allocations: 53.62 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.09956, allocations: 6.938 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09956, allocations: 0 / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.09957, allocations: 8.438 kB / 0.8442 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.611e-05/0.0996, allocations: 4.719 kB / 0.8442 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.09961, allocations: 0 / 0.8442 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.09962, allocations: 4.578 kB / 0.8442 GB, free: 7.984 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.09962, allocations: 4 kB / 0.8442 GB, free: 7.98 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 4.531e-05/0.09967, allocations: 112.1 kB / 0.8443 GB, free: 7.863 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.09967, allocations: 0 / 0.8443 GB, free: 7.863 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.09968, allocations: 12.17 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.09969, allocations: 4.188 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09969, allocations: 0.7188 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.09969, allocations: 4.5 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.957e-05/0.09974, allocations: 109.3 kB / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.09974, allocations: 0.6875 kB / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.09976, allocations: 11.92 kB / 0.8444 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.09976, allocations: 0.8125 kB / 0.8444 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.09976, allocations: 4 kB / 0.8444 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.09976, allocations: 0.5312 kB / 0.8444 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.09977, allocations: 12.5 kB / 0.8444 GB, free: 7.68 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.54e-05/0.09982, allocations: 73.08 kB / 0.8445 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.09983, allocations: 4.531 kB / 0.8445 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-06/0.09983, allocations: 4.5 kB / 0.8445 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.09984, allocations: 0 / 0.8445 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.09986, allocations: 8.938 kB / 0.8445 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.09986, allocations: 4.578 kB / 0.8445 GB, free: 7.57 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.03e-05/0.09988, allocations: 79.28 kB / 0.8446 GB, free: 7.492 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.09988, allocations: 0.5 kB / 0.8446 GB, free: 7.492 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001044/0.09999, allocations: 8.719 kB / 0.8446 GB, free: 7.484 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 6.619e-05/0.1001, allocations: 103.8 kB / 0.8447 GB, free: 7.371 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.787e-05/0.1001, allocations: 23.97 kB / 0.8447 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1001, allocations: 0.5625 kB / 0.8447 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.1001, allocations: 8.562 kB / 0.8448 GB, free: 7.34 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.515e-05/0.1002, allocations: 0.625 kB / 0.8448 GB, free: 7.34 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.1004, allocations: 143.4 kB / 0.8449 GB, free: 7.168 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.1005, allocations: 67.91 kB / 0.845 GB, free: 7.082 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1005, allocations: 7.438 kB / 0.845 GB, free: 7.074 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1005, allocations: 0.5938 kB / 0.845 GB, free: 7.074 MB / 474.8 MB Notification: Performance of Templates: time 0.001205/0.1017, allocations: 0.513 MB / 0.8455 GB, free: 6.582 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_perf.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.539406206458807]