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_bi.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.0009276/0.0009276, 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.0009977/0.0009977, allocations: 216.4 kB / 23.01 MB, free: 2.957 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.9798/0.9798, 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.7697/0.7697, allocations: 312.3 MB / 0.6108 GB, free: 97.52 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_bi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi") [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.001943/0.001943, allocations: 74.39 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1244, 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_bi): time 0.001456/0.1259, allocations: 0.6159 MB / 0.8427 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.236e-05/0.1259, allocations: 16.64 kB / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.1259, allocations: 0 / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1259, allocations: 0.5625 kB / 0.8427 GB, free: 9.645 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.126, allocations: 7.875 kB / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-05/0.126, allocations: 4.547 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.1261, allocations: 16.61 kB / 0.8428 GB, free: 9.617 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.1262, allocations: 7.922 kB / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.1262, allocations: 8.625 kB / 0.8428 GB, free: 9.602 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1262, allocations: 8.516 kB / 0.8428 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1262, allocations: 4 kB / 0.8428 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-06/0.1263, allocations: 0.7188 kB / 0.8428 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1263, allocations: 0 / 0.8428 GB, free: 9.59 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1263, allocations: 8.531 kB / 0.8428 GB, free: 9.582 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.321e-05/0.1264, allocations: 11.92 kB / 0.8428 GB, free: 9.57 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1264, allocations: 4.719 kB / 0.8428 GB, free: 9.566 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1264, allocations: 0 / 0.8428 GB, free: 9.566 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1264, allocations: 0.6875 kB / 0.8428 GB, free: 9.566 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.0003447/0.1267, allocations: 258.9 kB / 0.8431 GB, free: 9.281 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1268, allocations: 12.59 kB / 0.8431 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1268, allocations: 0.9375 kB / 0.8431 GB, free: 9.27 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.1269, allocations: 119.1 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1269, allocations: 384 / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1269, allocations: 5 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.127, allocations: 38.25 kB / 0.8432 GB, free: 9.082 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.127, allocations: 0.7188 kB / 0.8432 GB, free: 9.082 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.127, allocations: 4.594 kB / 0.8432 GB, free: 9.078 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.127, allocations: 0 / 0.8432 GB, free: 9.078 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.127, allocations: 12.62 kB / 0.8433 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1272, allocations: 113.3 kB / 0.8434 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1273, allocations: 43.08 kB / 0.8434 GB, free: 8.875 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.1274, allocations: 22.02 kB / 0.8434 GB, free: 8.852 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1274, allocations: 0 / 0.8434 GB, free: 8.852 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1274, allocations: 35.22 kB / 0.8435 GB, free: 8.809 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1274, allocations: 4 kB / 0.8435 GB, free: 8.805 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001372/0.1275, allocations: 62.31 kB / 0.8435 GB, free: 8.738 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1276, allocations: 51.41 kB / 0.8436 GB, free: 8.676 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.1276, allocations: 106.5 kB / 0.8437 GB, free: 8.562 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1276, allocations: 26.3 kB / 0.8437 GB, free: 8.531 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.1277, allocations: 80.14 kB / 0.8438 GB, free: 8.449 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1277, allocations: 12.59 kB / 0.8438 GB, free: 8.438 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1277, allocations: 13.72 kB / 0.8438 GB, free: 8.418 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.1278, allocations: 319.9 kB / 0.8441 GB, free: 8.098 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1278, allocations: 8 kB / 0.8441 GB, free: 8.09 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.1278, allocations: 4 kB / 0.8441 GB, free: 8.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.1278, allocations: 17.45 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1278, allocations: 4.578 kB / 0.8441 GB, free: 8.062 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.372e-05/0.1279, allocations: 53.97 kB / 0.8442 GB, free: 8.004 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1279, allocations: 6.781 kB / 0.8442 GB, free: 8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1279, allocations: 4.641 kB / 0.8442 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1279, allocations: 3.938 kB / 0.8442 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.128, allocations: 12.55 kB / 0.8442 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.128, allocations: 0 / 0.8442 GB, free: 7.98 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.128, allocations: 4.547 kB / 0.8442 GB, free: 7.977 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.128, allocations: 0.625 kB / 0.8442 GB, free: 7.977 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.328e-05/0.128, allocations: 112 kB / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-06/0.128, allocations: 0 / 0.8443 GB, free: 7.859 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.1281, allocations: 8.438 kB / 0.8443 GB, free: 7.852 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1281, allocations: 7.938 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1281, allocations: 0.6562 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1281, allocations: 0.625 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.939e-05/0.1281, allocations: 113.2 kB / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1281, allocations: 0.7188 kB / 0.8444 GB, free: 7.703 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.1281, allocations: 8 kB / 0.8445 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.1281, allocations: 0.5 kB / 0.8445 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1282, allocations: 4.562 kB / 0.8445 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1282, allocations: 3.938 kB / 0.8445 GB, free: 7.688 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1282, allocations: 4.594 kB / 0.8445 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.1282, allocations: 77.08 kB / 0.8445 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.1282, allocations: 4.562 kB / 0.8445 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1282, allocations: 4.703 kB / 0.8446 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-06/0.1282, allocations: 4.25 kB / 0.8446 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1283, allocations: 4.594 kB / 0.8446 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1283, allocations: 8 kB / 0.8446 GB, free: 7.566 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.1283, allocations: 79.88 kB / 0.8446 GB, free: 7.488 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1283, allocations: 0.7188 kB / 0.8446 GB, free: 7.488 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001076/0.1284, allocations: 4 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 8.024e-05/0.1285, allocations: 107.9 kB / 0.8448 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.1286, allocations: 16.62 kB / 0.8448 GB, free: 7.352 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1286, allocations: 0.6562 kB / 0.8448 GB, free: 7.352 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.1286, allocations: 11.98 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 0.0001069/0.1287, allocations: 4.688 kB / 0.8448 GB, free: 7.336 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.1289, allocations: 143.1 kB / 0.8449 GB, free: 7.164 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.1289, allocations: 59.94 kB / 0.845 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.129, allocations: 11.94 kB / 0.845 GB, free: 7.074 MB / 474.8 MB Notification: Performance of SimCode: time 6.52e-07/0.129, allocations: 4.562 kB / 0.845 GB, free: 7.07 MB / 474.8 MB Notification: Performance of Templates: time 0.001375/0.1303, allocations: 0.5128 MB / 0.8455 GB, free: 6.578 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_bi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.585245388559997]