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.005241/0.005241, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002799/0.002799, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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 1.366/1.366, allocations: 292.9 MB / 0.5392 GB, free: 50.21 MB / 410.7 MB " [Timeout remaining time 178] 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.884e-06/1.884e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.92e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference): time 0.002562/0.002591, allocations: 1.82 MB / 0.7017 GB, free: 6.711 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.003531, allocations: 0.5458 MB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.003591, allocations: 0 / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.003695, allocations: 15.8 kB / 0.7022 GB, free: 6.145 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.004063, allocations: 63.53 kB / 0.7023 GB, free: 6.082 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.004232, allocations: 78.89 kB / 0.7023 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004429, allocations: 159.3 kB / 0.7025 GB, free: 5.852 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.004482, allocations: 5.312 kB / 0.7025 GB, free: 5.848 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.004613, allocations: 91.78 kB / 0.7026 GB, free: 5.758 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.00484, allocations: 79.75 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.004868, allocations: 8 kB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.004891, allocations: 8 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.004956, allocations: 27.91 kB / 0.7027 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.005018, allocations: 47.84 kB / 0.7027 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.005158, allocations: 111.6 kB / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00516, allocations: 0 / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005161, allocations: 0 / 0.7029 GB, free: 5.48 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005165, allocations: 0 / 0.7029 GB, free: 5.48 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.0007584/0.005923, allocations: 391.5 kB / 0.7032 GB, free: 5.062 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.00596, allocations: 8.031 kB / 0.7032 GB, free: 5.055 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.006019, allocations: 20.78 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.006204, allocations: 146.2 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.006222, allocations: 8.375 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.006252, allocations: 12.38 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.006501, allocations: 94.17 kB / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.006512, allocations: 3.938 kB / 0.7035 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.006529, allocations: 7.938 kB / 0.7035 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.006535, allocations: 4 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.006814, allocations: 79.92 kB / 0.7036 GB, free: 4.656 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.007269, allocations: 280.4 kB / 0.7039 GB, free: 4.352 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.00762, allocations: 138.4 kB / 0.704 GB, free: 4.207 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.007771, allocations: 49.03 kB / 0.704 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.007789, allocations: 7.875 kB / 0.704 GB, free: 4.148 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.008041, allocations: 119.3 kB / 0.7042 GB, free: 4.02 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.008042, allocations: 0 / 0.7042 GB, free: 4.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005324/0.008575, allocations: 197.6 kB / 0.7044 GB, free: 3.82 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.008609, allocations: 55.41 kB / 0.7044 GB, free: 3.754 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.008737, allocations: 157 kB / 0.7046 GB, free: 3.594 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.008755, allocations: 33.64 kB / 0.7046 GB, free: 3.555 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.008804, allocations: 100.1 kB / 0.7047 GB, free: 3.453 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.008834, allocations: 47.64 kB / 0.7047 GB, free: 3.406 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.008896, allocations: 37.7 kB / 0.7048 GB, free: 3.363 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.008959, allocations: 322.8 kB / 0.7051 GB, free: 3.039 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.00913, allocations: 81.66 kB / 0.7051 GB, free: 2.953 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.009327, allocations: 202.1 kB / 0.7053 GB, free: 2.719 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.009599, allocations: 142.1 kB / 0.7055 GB, free: 2.574 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.009602, allocations: 3.938 kB / 0.7055 GB, free: 2.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003843/0.009986, allocations: 240.8 kB / 0.7057 GB, free: 2.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.01001, allocations: 37.64 kB / 0.7057 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01002, allocations: 0 / 0.7057 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01004, allocations: 4 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.0102, allocations: 27.98 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.0102, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01036, allocations: 23.91 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01038, allocations: 4 kB / 0.7058 GB, free: 2.215 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 7.725e-05/0.01045, allocations: 126.4 kB / 0.7059 GB, free: 2.082 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.01047, allocations: 11.91 kB / 0.7059 GB, free: 2.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.01086, allocations: 177.2 kB / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01086, allocations: 4 kB / 0.7061 GB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01087, allocations: 3.938 kB / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01087, allocations: 8.016 kB / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.01099, allocations: 145.2 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01099, allocations: 3.938 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.01114, allocations: 19.98 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.01114, allocations: 4 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01116, allocations: 4 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01116, allocations: 3.938 kB / 0.7063 GB, free: 1.676 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01116, allocations: 7.938 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.01167, allocations: 244.9 kB / 0.7065 GB, free: 1.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.01169, allocations: 23.81 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.01172, allocations: 4 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01185, allocations: 15.97 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.01192, allocations: 11.98 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.01193, allocations: 7.984 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.012, allocations: 123.1 kB / 0.7067 GB, free: 1.227 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.012, allocations: 4.062 kB / 0.7067 GB, free: 1.223 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000204/0.01221, allocations: 32 kB / 0.7067 GB, free: 1.191 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 0.0001252/0.01233, allocations: 107.2 kB / 0.7068 GB, free: 1.074 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.01273, allocations: 213 kB / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01274, allocations: 0 / 0.7071 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.0129, allocations: 59.89 kB / 0.7071 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01319, allocations: 47.89 kB / 0.7072 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01381, allocations: 305.5 kB / 0.7074 GB, free: 428 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.01387, allocations: 97.8 kB / 0.7075 GB, free: 312 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.01395, allocations: 25.48 kB / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.014, allocations: 20.5 kB / 0.7076 GB, free: 264 kB / 410.8 MB Notification: Performance of SimCode: time 4.1e-07/0.014, allocations: 0 / 0.7076 GB, free: 264 kB / 410.8 MB Notification: Performance of Templates: time 0.006586/0.02059, allocations: 2.505 MB / 0.71 GB, free: 13.88 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.816073951078579]