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_sap.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.0009814/0.0009814, 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.00117/0.00117, allocations: 219 kB / 23.01 MB, free: 2.949 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.026/1.026, 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.7742/0.7742, allocations: 312.3 MB / 0.6109 GB, free: 97.74 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_sap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap") [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.002115/0.002115, allocations: 77.19 kB / 0.7699 GB, free: 20.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1218, allocations: 73.99 MB / 0.8421 GB, free: 10.53 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap): time 0.001466/0.1233, allocations: 0.6163 MB / 0.8427 GB, free: 9.93 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.22e-05/0.1233, allocations: 16.47 kB / 0.8428 GB, free: 9.914 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1234, allocations: 0 / 0.8428 GB, free: 9.914 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.1234, allocations: 0.5312 kB / 0.8428 GB, free: 9.914 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.1234, allocations: 4.625 kB / 0.8428 GB, free: 9.91 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.767e-05/0.1235, allocations: 4 kB / 0.8428 GB, free: 9.906 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.1235, allocations: 12.67 kB / 0.8428 GB, free: 9.895 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.1236, allocations: 3.938 kB / 0.8428 GB, free: 9.891 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.1236, allocations: 16.52 kB / 0.8428 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.1236, allocations: 4.719 kB / 0.8428 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1237, allocations: 0 / 0.8428 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-06/0.1237, allocations: 0.7188 kB / 0.8428 GB, free: 9.871 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1237, allocations: 7.922 kB / 0.8428 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1237, allocations: 8.688 kB / 0.8428 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.379e-05/0.1238, allocations: 15.91 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1238, allocations: 0.625 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1238, allocations: 0 / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1238, allocations: 0.5 kB / 0.8428 GB, free: 9.84 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.0003289/0.1241, allocations: 254.9 kB / 0.8431 GB, free: 9.559 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1242, allocations: 12.47 kB / 0.8431 GB, free: 9.547 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1242, allocations: 1.562 kB / 0.8431 GB, free: 9.547 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.1243, allocations: 122.4 kB / 0.8432 GB, free: 9.402 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1243, allocations: 0.875 kB / 0.8432 GB, free: 9.402 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1243, allocations: 5 kB / 0.8432 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.1244, allocations: 38.2 kB / 0.8433 GB, free: 9.355 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1244, allocations: 0.7812 kB / 0.8433 GB, free: 9.355 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1244, allocations: 4.562 kB / 0.8433 GB, free: 9.352 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1244, allocations: 4 kB / 0.8433 GB, free: 9.348 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.1244, allocations: 12.58 kB / 0.8433 GB, free: 9.336 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.1245, allocations: 106 kB / 0.8434 GB, free: 9.203 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1247, allocations: 42.58 kB / 0.8434 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1247, allocations: 21.55 kB / 0.8434 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.1248, allocations: 0.6562 kB / 0.8434 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.1248, allocations: 34.56 kB / 0.8435 GB, free: 9.086 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.1248, allocations: 0.5 kB / 0.8435 GB, free: 9.086 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000134/0.1249, allocations: 66.22 kB / 0.8435 GB, free: 9.016 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.1249, allocations: 51.94 kB / 0.8436 GB, free: 8.953 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.125, allocations: 105.8 kB / 0.8437 GB, free: 8.84 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.125, allocations: 26.3 kB / 0.8437 GB, free: 8.809 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.125, allocations: 80.7 kB / 0.8438 GB, free: 8.727 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.125, allocations: 15.91 kB / 0.8438 GB, free: 8.711 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.1251, allocations: 10.28 kB / 0.8438 GB, free: 8.695 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.1251, allocations: 323.4 kB / 0.8441 GB, free: 8.371 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.1252, allocations: 4 kB / 0.8441 GB, free: 8.367 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.1252, allocations: 4.625 kB / 0.8441 GB, free: 8.363 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.1252, allocations: 20.86 kB / 0.8442 GB, free: 8.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1252, allocations: 0.5938 kB / 0.8442 GB, free: 8.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.629e-05/0.1253, allocations: 54.25 kB / 0.8442 GB, free: 8.281 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1253, allocations: 4 kB / 0.8442 GB, free: 8.277 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1253, allocations: 0.875 kB / 0.8442 GB, free: 8.277 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1253, allocations: 4.469 kB / 0.8442 GB, free: 8.273 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.972e-05/0.1253, allocations: 12 kB / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1253, allocations: 0.5938 kB / 0.8442 GB, free: 8.262 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1254, allocations: 8.594 kB / 0.8442 GB, free: 8.254 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1254, allocations: 0 / 0.8442 GB, free: 8.254 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 5.607e-05/0.1254, allocations: 114.4 kB / 0.8443 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-06/0.1254, allocations: 0.7188 kB / 0.8443 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.1254, allocations: 7.688 kB / 0.8444 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1254, allocations: 4.656 kB / 0.8444 GB, free: 8.121 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1254, allocations: 3.938 kB / 0.8444 GB, free: 8.117 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1254, allocations: 0.625 kB / 0.8444 GB, free: 8.117 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.892e-05/0.1255, allocations: 109.8 kB / 0.8445 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.1255, allocations: 4 kB / 0.8445 GB, free: 7.977 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.1255, allocations: 8.438 kB / 0.8445 GB, free: 7.969 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1255, allocations: 0.625 kB / 0.8445 GB, free: 7.969 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1255, allocations: 4 kB / 0.8445 GB, free: 7.965 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1255, allocations: 4.438 kB / 0.8445 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1255, allocations: 4.656 kB / 0.8445 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.1256, allocations: 73.08 kB / 0.8446 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.1256, allocations: 4.5 kB / 0.8446 GB, free: 7.863 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1256, allocations: 4.719 kB / 0.8446 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.1256, allocations: 0 / 0.8446 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1257, allocations: 12.52 kB / 0.8446 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1257, allocations: 0 / 0.8446 GB, free: 7.848 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.1257, allocations: 79.78 kB / 0.8447 GB, free: 7.77 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1257, allocations: 0.625 kB / 0.8447 GB, free: 7.77 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001074/0.1258, allocations: 8 kB / 0.8447 GB, free: 7.762 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 8.605e-05/0.1259, allocations: 105.9 kB / 0.8448 GB, free: 7.648 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.126, allocations: 20.62 kB / 0.8448 GB, free: 7.629 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.126, allocations: 0.5312 kB / 0.8448 GB, free: 7.629 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.126, allocations: 8.328 kB / 0.8448 GB, free: 7.621 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.1261, allocations: 5.859 kB / 0.8448 GB, free: 7.617 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.1263, allocations: 145.6 kB / 0.8449 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.1264, allocations: 60.03 kB / 0.845 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1264, allocations: 12.16 kB / 0.845 GB, free: 7.355 MB / 474.8 MB Notification: Performance of SimCode: time 7.52e-07/0.1264, allocations: 0 / 0.845 GB, free: 7.355 MB / 474.8 MB Notification: Performance of Templates: time 0.00174/0.1281, allocations: 0.5188 MB / 0.8455 GB, free: 6.855 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.800166997127235]