Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.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.001214/0.001214, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009874/0.0009874, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9705/0.9705, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.76/0.76, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.701e-05, allocations: 5.375 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference): time 0.001656/0.001673, allocations: 1.826 MB / 0.6991 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00061/0.002283, allocations: 0.5419 MB / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.002334, allocations: 0 / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.002414, allocations: 11.86 kB / 0.6997 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.002698, allocations: 71.47 kB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.002809, allocations: 75.64 kB / 0.6998 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.002958, allocations: 163.3 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.002998, allocations: 9.312 kB / 0.7 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.003094, allocations: 91.78 kB / 0.7001 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.003275, allocations: 75.77 kB / 0.7001 GB, free: 7.527 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003294, allocations: 8 kB / 0.7001 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.003311, allocations: 8 kB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.003358, allocations: 31.91 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.003402, allocations: 43.89 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.00351, allocations: 103.6 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003511, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003512, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003516, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004813/0.003997, allocations: 395.5 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004029, allocations: 8.031 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.004065, allocations: 20.83 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.004189, allocations: 146.1 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.004203, allocations: 4.375 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.004224, allocations: 12.38 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.004371, allocations: 90.19 kB / 0.701 GB, free: 6.609 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.00438, allocations: 11.92 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00439, allocations: 4 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004395, allocations: 4 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.004532, allocations: 75.92 kB / 0.7011 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.004822, allocations: 288.3 kB / 0.7013 GB, free: 6.203 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.005022, allocations: 138.4 kB / 0.7015 GB, free: 6.059 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.005097, allocations: 48.83 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.005111, allocations: 4 kB / 0.7015 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.005259, allocations: 119.2 kB / 0.7016 GB, free: 5.875 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.00526, allocations: 3.938 kB / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003026/0.005563, allocations: 189.7 kB / 0.7018 GB, free: 5.68 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.005582, allocations: 55.41 kB / 0.7019 GB, free: 5.613 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.005661, allocations: 157.2 kB / 0.702 GB, free: 5.453 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.005677, allocations: 33.7 kB / 0.7021 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.005712, allocations: 112 kB / 0.7022 GB, free: 5.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.005731, allocations: 39.64 kB / 0.7022 GB, free: 5.262 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.00577, allocations: 37.7 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.797e-05/0.005798, allocations: 322.8 kB / 0.7025 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.005887, allocations: 81.66 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.005995, allocations: 210 kB / 0.7028 GB, free: 4.566 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.006146, allocations: 144.4 kB / 0.703 GB, free: 4.418 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006148, allocations: 3.938 kB / 0.703 GB, free: 4.414 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002066/0.006355, allocations: 240.8 kB / 0.7032 GB, free: 4.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.006374, allocations: 36.19 kB / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006378, allocations: 0 / 0.7032 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006389, allocations: 4 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.006475, allocations: 27.92 kB / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.00648, allocations: 0 / 0.7033 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.006556, allocations: 23.92 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.006564, allocations: 4 kB / 0.7033 GB, free: 4.062 MB / 410.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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.889e-05/0.006613, allocations: 126.4 kB / 0.7034 GB, free: 3.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.006624, allocations: 15.94 kB / 0.7034 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.006826, allocations: 177.7 kB / 0.7036 GB, free: 3.742 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006828, allocations: 4 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.006831, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006834, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.006905, allocations: 153.2 kB / 0.7037 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006907, allocations: 3.938 kB / 0.7037 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.006982, allocations: 27.97 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006984, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.006994, allocations: 4 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006995, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006996, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.007273, allocations: 252.9 kB / 0.704 GB, free: 3.258 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.007287, allocations: 19.91 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.007305, allocations: 4 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.007356, allocations: 11.98 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.0074, allocations: 15.97 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.007407, allocations: 4 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.007449, allocations: 127 kB / 0.7042 GB, free: 3.078 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007449, allocations: 3.938 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001308/0.00758, allocations: 32 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.284e-05/0.007643, allocations: 107.2 kB / 0.7043 GB, free: 2.926 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.00786, allocations: 213 kB / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007862, allocations: 0 / 0.7045 GB, free: 2.699 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.007943, allocations: 59.89 kB / 0.7046 GB, free: 2.641 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.008124, allocations: 51.89 kB / 0.7046 GB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.008523, allocations: 339.1 kB / 0.705 GB, free: 2.227 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.008559, allocations: 93.81 kB / 0.705 GB, free: 2.117 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.008603, allocations: 24.48 kB / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of SimCode: time 5.71e-07/0.008604, allocations: 0 / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of Templates: time 0.002094/0.0107, allocations: 2.054 MB / 0.7071 GB, free: 60 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.476314589381218]