Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_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.00216/0.00216, 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.002446/0.002446, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.698/1.698, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.357/1.357, allocations: 292.9 MB / 0.5392 GB, free: 50.18 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.NickelSulfate.NickelSulfate_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 4 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.351e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.488 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference): time 0.002245/0.002268, allocations: 1.807 MB / 0.7017 GB, free: 6.664 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.00312, allocations: 0.5457 MB / 0.7022 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.003176, allocations: 4 kB / 0.7022 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.00327, allocations: 15.84 kB / 0.7022 GB, free: 6.094 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.003606, allocations: 67.55 kB / 0.7023 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.003758, allocations: 63.66 kB / 0.7023 GB, free: 5.969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.003956, allocations: 171.2 kB / 0.7025 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.004, allocations: 5.312 kB / 0.7025 GB, free: 5.797 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004127, allocations: 91.78 kB / 0.7026 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.004346, allocations: 79.77 kB / 0.7027 GB, free: 5.629 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.004374, allocations: 12 kB / 0.7027 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.004396, allocations: 4 kB / 0.7027 GB, free: 5.613 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.004456, allocations: 39.83 kB / 0.7027 GB, free: 5.574 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.004514, allocations: 35.91 kB / 0.7028 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004645, allocations: 99.67 kB / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004647, allocations: 0 / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004648, allocations: 0 / 0.7029 GB, free: 5.441 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004651, allocations: 7.938 kB / 0.7029 GB, free: 5.434 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.0007002/0.005352, allocations: 395.5 kB / 0.7032 GB, free: 5.012 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005384, allocations: 12.03 kB / 0.7032 GB, free: 5 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.005434, allocations: 16.83 kB / 0.7033 GB, free: 4.984 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005598, allocations: 150.2 kB / 0.7034 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.005615, allocations: 8.375 kB / 0.7034 GB, free: 4.805 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.005642, allocations: 4.375 kB / 0.7034 GB, free: 4.801 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.005891, allocations: 98.17 kB / 0.7035 GB, free: 4.699 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.005902, allocations: 7.875 kB / 0.7035 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.005916, allocations: 8 kB / 0.7035 GB, free: 4.684 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005921, allocations: 4 kB / 0.7035 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.006184, allocations: 83.86 kB / 0.7036 GB, free: 4.598 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.006597, allocations: 280.4 kB / 0.7039 GB, free: 4.293 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.00698, allocations: 138.3 kB / 0.704 GB, free: 4.148 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.007122, allocations: 52.83 kB / 0.7041 GB, free: 4.094 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.007137, allocations: 0 / 0.7041 GB, free: 4.094 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.007372, allocations: 119.2 kB / 0.7042 GB, free: 3.965 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.007373, allocations: 0 / 0.7042 GB, free: 3.965 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005432/0.007916, allocations: 193.7 kB / 0.7044 GB, free: 3.77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.007948, allocations: 51.41 kB / 0.7044 GB, free: 3.707 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.008061, allocations: 161 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.008078, allocations: 33.69 kB / 0.7046 GB, free: 3.504 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.008123, allocations: 100.1 kB / 0.7047 GB, free: 3.402 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.00815, allocations: 43.64 kB / 0.7047 GB, free: 3.359 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.00821, allocations: 41.7 kB / 0.7048 GB, free: 3.312 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.008258, allocations: 326.8 kB / 0.7051 GB, free: 2.984 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.008419, allocations: 81.66 kB / 0.7052 GB, free: 2.898 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.00862, allocations: 202.1 kB / 0.7054 GB, free: 2.664 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.008893, allocations: 140.7 kB / 0.7055 GB, free: 2.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008896, allocations: 3.938 kB / 0.7055 GB, free: 2.516 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003681/0.009264, allocations: 240.8 kB / 0.7057 GB, free: 2.262 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.009288, allocations: 40.34 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.009292, allocations: 0 / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.009305, allocations: 0 / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.009462, allocations: 27.92 kB / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009467, allocations: 0 / 0.7058 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.009633, allocations: 23.92 kB / 0.7058 GB, free: 2.168 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.009647, allocations: 4 kB / 0.7058 GB, free: 2.164 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.093e-05/0.009718, allocations: 131 kB / 0.7059 GB, free: 2.027 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.00974, allocations: 15.91 kB / 0.706 GB, free: 2.012 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.0101, allocations: 170.3 kB / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01011, allocations: 0 / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01011, allocations: 0 / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.01011, allocations: 0 / 0.7061 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.01022, allocations: 145.5 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01022, allocations: 3.938 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01038, allocations: 39.91 kB / 0.7063 GB, free: 1.629 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01038, allocations: 3.938 kB / 0.7063 GB, free: 1.625 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01039, allocations: 0 / 0.7063 GB, free: 1.625 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01039, allocations: 4 kB / 0.7063 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01039, allocations: 0 / 0.7063 GB, free: 1.621 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.01089, allocations: 258.2 kB / 0.7065 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01091, allocations: 19.81 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01094, allocations: 0 / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01106, allocations: 24.05 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.01112, allocations: 11.97 kB / 0.7066 GB, free: 1.301 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.01113, allocations: 8 kB / 0.7066 GB, free: 1.293 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.086e-05/0.0112, allocations: 123.1 kB / 0.7067 GB, free: 1.172 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 0.7067 GB, free: 1.172 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001948/0.0114, allocations: 32 kB / 0.7068 GB, free: 1.141 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.00011/0.01151, allocations: 111.2 kB / 0.7069 GB, free: 1.02 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.0119, allocations: 209 kB / 0.7071 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.0119, allocations: 0 / 0.7071 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.01207, allocations: 63.89 kB / 0.7071 GB, free: 0.7344 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.01243, allocations: 39.89 kB / 0.7072 GB, free: 0.6953 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.01304, allocations: 317.4 kB / 0.7075 GB, free: 368 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.0131, allocations: 93.81 kB / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.102e-05/0.01318, allocations: 21.48 kB / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.01323, allocations: 20.48 kB / 0.7076 GB, free: 212 kB / 410.8 MB Notification: Performance of SimCode: time 2.91e-07/0.01323, allocations: 0 / 0.7076 GB, free: 212 kB / 410.8 MB Notification: Performance of Templates: time 0.006403/0.01964, allocations: 2.5 MB / 0.71 GB, free: 13.82 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.841394372051582]