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_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.0009354/0.0009354, allocations: 104.3 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.001066/0.001066, allocations: 216.4 kB / 23.01 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 0.9984/0.9984, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7746/0.7746, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_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.00138/0.00138, allocations: 73.52 kB / 0.7698 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 74 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr): time 0.001566/0.1146, allocations: 0.6187 MB / 0.8427 GB, free: 9.75 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.375e-05/0.1147, allocations: 11.92 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1147, allocations: 0.5 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1147, allocations: 4.75 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.1148, allocations: 3.938 kB / 0.8427 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.593e-05/0.1148, allocations: 4.578 kB / 0.8427 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.1149, allocations: 15.98 kB / 0.8427 GB, free: 9.711 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1149, allocations: 4.625 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.115, allocations: 8.531 kB / 0.8428 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.115, allocations: 11.92 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.115, allocations: 4.812 kB / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-06/0.115, allocations: 0 / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1151, allocations: 0.625 kB / 0.8428 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1151, allocations: 11.92 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.317e-05/0.1151, allocations: 12.55 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1151, allocations: 4.734 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1151, allocations: 4 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1152, allocations: 0.6562 kB / 0.8428 GB, free: 9.652 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.0003422/0.1155, allocations: 251 kB / 0.843 GB, free: 9.375 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1155, allocations: 12.03 kB / 0.8431 GB, free: 9.363 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1156, allocations: 5.484 kB / 0.8431 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.1157, allocations: 118.4 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1157, allocations: 0.9375 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1157, allocations: 5 kB / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.788e-05/0.1158, allocations: 38.25 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1158, allocations: 0.6875 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1158, allocations: 4.656 kB / 0.8432 GB, free: 9.168 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1158, allocations: 0 / 0.8432 GB, free: 9.168 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.1158, allocations: 16.62 kB / 0.8432 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.1159, allocations: 105.3 kB / 0.8433 GB, free: 9.02 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1161, allocations: 47.14 kB / 0.8434 GB, free: 8.965 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.1162, allocations: 17.48 kB / 0.8434 GB, free: 8.945 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1162, allocations: 0.625 kB / 0.8434 GB, free: 8.945 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1162, allocations: 30.56 kB / 0.8434 GB, free: 8.906 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1162, allocations: 0.5938 kB / 0.8434 GB, free: 8.906 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001411/0.1163, allocations: 66.61 kB / 0.8435 GB, free: 8.836 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1164, allocations: 51.41 kB / 0.8435 GB, free: 8.773 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.1164, allocations: 101.8 kB / 0.8436 GB, free: 8.664 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.1164, allocations: 30.48 kB / 0.8437 GB, free: 8.629 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.1164, allocations: 80.14 kB / 0.8437 GB, free: 8.547 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1165, allocations: 8.531 kB / 0.8438 GB, free: 8.539 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.1165, allocations: 21.7 kB / 0.8438 GB, free: 8.512 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.1166, allocations: 315.5 kB / 0.8441 GB, free: 8.195 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.1166, allocations: 8.625 kB / 0.8441 GB, free: 8.188 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.1166, allocations: 4 kB / 0.8441 GB, free: 8.184 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.1166, allocations: 21.66 kB / 0.8441 GB, free: 8.16 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1166, allocations: 0.5312 kB / 0.8441 GB, free: 8.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.371e-05/0.1167, allocations: 61.62 kB / 0.8442 GB, free: 8.094 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1167, allocations: 4.562 kB / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1167, allocations: 8.547 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1167, allocations: 4.266 kB / 0.8442 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.1168, allocations: 8.562 kB / 0.8442 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1168, allocations: 0.625 kB / 0.8442 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.1168, allocations: 3.953 kB / 0.8442 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.1168, allocations: 0.5 kB / 0.8442 GB, free: 8.066 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.414e-05/0.1169, allocations: 110.5 kB / 0.8443 GB, free: 7.949 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-06/0.1169, allocations: 4.766 kB / 0.8443 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.1169, allocations: 7.688 kB / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.1169, allocations: 12.52 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1169, allocations: 0 / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1169, allocations: 0.5938 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.036e-05/0.117, allocations: 105.3 kB / 0.8444 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.117, allocations: 0.625 kB / 0.8444 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.117, allocations: 8.625 kB / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.117, allocations: 0 / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.117, allocations: 0.5938 kB / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.117, allocations: 3.984 kB / 0.8444 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.117, allocations: 4.562 kB / 0.8444 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.1171, allocations: 81.73 kB / 0.8445 GB, free: 7.68 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.1171, allocations: 4 kB / 0.8445 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.1171, allocations: 4.531 kB / 0.8445 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.1171, allocations: 0 / 0.8445 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1171, allocations: 8.531 kB / 0.8445 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1171, allocations: 4.656 kB / 0.8445 GB, free: 7.66 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.1171, allocations: 83.27 kB / 0.8446 GB, free: 7.578 MB / 474.8 MB Notification: Performance of sort global known variables: time 4e-08/0.1171, allocations: 0.75 kB / 0.8446 GB, free: 7.578 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001044/0.1172, allocations: 4 kB / 0.8446 GB, free: 7.574 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.079e-05/0.1173, allocations: 96.53 kB / 0.8447 GB, free: 7.469 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.984e-05/0.1174, allocations: 27.92 kB / 0.8447 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1174, allocations: 0.75 kB / 0.8447 GB, free: 7.441 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.1174, allocations: 8 kB / 0.8448 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1175, allocations: 5.594 kB / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.1178, allocations: 139.2 kB / 0.8449 GB, free: 7.262 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.1178, allocations: 63.84 kB / 0.845 GB, free: 7.18 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1178, allocations: 16 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of SimCode: time 5.31e-07/0.1178, allocations: 0.5938 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of Templates: time 0.001479/0.1193, allocations: 0.5085 MB / 0.8455 GB, free: 6.676 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.753407654352486]