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_drug.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.001023/0.001023, allocations: 104.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.00108/0.00108, allocations: 215.5 kB / 23 MB, free: 2.961 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.011/1.011, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7721/0.7721, allocations: 312.3 MB / 0.6108 GB, free: 97.08 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_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") [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.00145/0.00145, allocations: 78.78 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 73.99 MB / 0.8421 GB, free: 9.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug): time 0.001378/0.1211, allocations: 0.6161 MB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.143e-05/0.1211, allocations: 12.45 kB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1212, allocations: 4 kB / 0.8427 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1212, allocations: 0.5938 kB / 0.8427 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.1212, allocations: 8.531 kB / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.1212, allocations: 0 / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.1213, allocations: 16.52 kB / 0.8428 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1213, allocations: 8.688 kB / 0.8428 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.1214, allocations: 7.938 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1214, allocations: 8.641 kB / 0.8428 GB, free: 9.219 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1214, allocations: 4 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.1214, allocations: 0.625 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1214, allocations: 4 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.1215, allocations: 8.531 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.456e-05/0.1215, allocations: 12.36 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1215, allocations: 0 / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1215, allocations: 4.625 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1215, allocations: 0.5 kB / 0.8428 GB, free: 9.188 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.0003165/0.1219, allocations: 259 kB / 0.8431 GB, free: 8.902 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1219, allocations: 8.031 kB / 0.8431 GB, free: 8.895 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.1219, allocations: 1.438 kB / 0.8431 GB, free: 8.895 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.122, allocations: 119.2 kB / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.122, allocations: 384 / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.122, allocations: 4.969 kB / 0.8432 GB, free: 8.75 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.1221, allocations: 38.25 kB / 0.8432 GB, free: 8.707 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1221, allocations: 4.672 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1221, allocations: 4.562 kB / 0.8432 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1221, allocations: 0 / 0.8432 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.1222, allocations: 12.56 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1223, allocations: 113.3 kB / 0.8434 GB, free: 8.547 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1224, allocations: 43.33 kB / 0.8434 GB, free: 8.496 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1224, allocations: 17.39 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1225, allocations: 0.7812 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.1225, allocations: 30.56 kB / 0.8434 GB, free: 8.438 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1225, allocations: 0.625 kB / 0.8434 GB, free: 8.438 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001313/0.1226, allocations: 61.66 kB / 0.8435 GB, free: 8.371 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1226, allocations: 52.09 kB / 0.8436 GB, free: 8.309 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.1227, allocations: 106.5 kB / 0.8437 GB, free: 8.195 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.1227, allocations: 25.7 kB / 0.8437 GB, free: 8.164 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.1227, allocations: 84.89 kB / 0.8438 GB, free: 8.078 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1227, allocations: 11.84 kB / 0.8438 GB, free: 8.066 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.1228, allocations: 18.34 kB / 0.8438 GB, free: 8.043 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.1228, allocations: 318.8 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.1228, allocations: 4.594 kB / 0.8441 GB, free: 7.719 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.1229, allocations: 8.625 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.1229, allocations: 17.11 kB / 0.8441 GB, free: 7.691 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1229, allocations: 4.5 kB / 0.8441 GB, free: 7.688 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.522e-05/0.1229, allocations: 58.25 kB / 0.8442 GB, free: 7.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.123, allocations: 4 kB / 0.8442 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.123, allocations: 4.469 kB / 0.8442 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.123, allocations: 4.531 kB / 0.8442 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.123, allocations: 11.98 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.123, allocations: 0.5938 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.123, allocations: 7.953 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.123, allocations: 0.5 kB / 0.8442 GB, free: 7.594 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.341e-05/0.1231, allocations: 111.5 kB / 0.8443 GB, free: 7.477 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-06/0.1231, allocations: 0.75 kB / 0.8443 GB, free: 7.477 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.1231, allocations: 8.016 kB / 0.8443 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1231, allocations: 8.5 kB / 0.8443 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1231, allocations: 0.625 kB / 0.8443 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1231, allocations: 3.984 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.443e-05/0.1232, allocations: 105.9 kB / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1232, allocations: 0.5 kB / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.1232, allocations: 11.94 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1232, allocations: 1 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1232, allocations: 0 / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.1232, allocations: 0.625 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1232, allocations: 3.938 kB / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.205e-05/0.1233, allocations: 77.8 kB / 0.8445 GB, free: 7.215 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.1233, allocations: 4 kB / 0.8445 GB, free: 7.211 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1233, allocations: 4.703 kB / 0.8445 GB, free: 7.207 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.1233, allocations: 0 / 0.8445 GB, free: 7.207 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1233, allocations: 4.531 kB / 0.8445 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1233, allocations: 4 kB / 0.8445 GB, free: 7.199 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.1234, allocations: 83.84 kB / 0.8446 GB, free: 7.117 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1234, allocations: 0.6875 kB / 0.8446 GB, free: 7.117 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001105/0.1235, allocations: 4 kB / 0.8446 GB, free: 7.113 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 9.295e-05/0.1236, allocations: 108.4 kB / 0.8447 GB, free: 6.996 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.1236, allocations: 16 kB / 0.8448 GB, free: 6.98 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1236, allocations: 0.7812 kB / 0.8448 GB, free: 6.98 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.1237, allocations: 11.98 kB / 0.8448 GB, free: 6.969 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.1238, allocations: 4.625 kB / 0.8448 GB, free: 6.965 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.124, allocations: 139.3 kB / 0.8449 GB, free: 6.797 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.124, allocations: 63.88 kB / 0.845 GB, free: 6.715 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.1241, allocations: 16 kB / 0.845 GB, free: 6.699 MB / 474.8 MB Notification: Performance of SimCode: time 7.62e-07/0.1241, allocations: 0 / 0.845 GB, free: 6.699 MB / 474.8 MB Notification: Performance of Templates: time 0.001324/0.1254, allocations: 0.5212 MB / 0.8455 GB, free: 6.199 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.812804940156639]