Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_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.0008997/0.0008997, 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.0008776/0.0008776, allocations: 165.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.9098/0.9098, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7067/0.7067, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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.SodiumArsenite.SodiumArsenite_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.78e-05, allocations: 9.172 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference): time 0.001728/0.001746, allocations: 1.822 MB / 0.6991 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.002399, allocations: 0.5497 MB / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.002451, allocations: 0 / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.93e-05/0.00254, allocations: 11.86 kB / 0.6997 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.002849, allocations: 63.48 kB / 0.6997 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.002969, allocations: 79.27 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003125, allocations: 163.3 kB / 0.7 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.003166, allocations: 5.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003269, allocations: 91.78 kB / 0.7001 GB, free: 7.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.003464, allocations: 75.77 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.003486, allocations: 8 kB / 0.7001 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.003502, allocations: 8 kB / 0.7001 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.003557, allocations: 35.89 kB / 0.7002 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.003607, allocations: 39.91 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.00373, allocations: 107.6 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003731, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003732, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.003737, allocations: 0 / 0.7003 GB, free: 7.316 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.0005143/0.004251, allocations: 387.5 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.004287, allocations: 8.031 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.004327, allocations: 20.84 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.004458, allocations: 154.1 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.00447, allocations: 4.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.004494, allocations: 12.38 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.004647, allocations: 94.17 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004654, allocations: 3.938 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004665, allocations: 4 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.004674, allocations: 4 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.00482, allocations: 79.86 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.00514, allocations: 288.4 kB / 0.7013 GB, free: 6.184 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.005347, allocations: 138.4 kB / 0.7015 GB, free: 6.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.005423, allocations: 48.81 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.005438, allocations: 0 / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.005592, allocations: 119.3 kB / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.005594, allocations: 0 / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003307/0.005924, allocations: 197.6 kB / 0.7018 GB, free: 5.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.005948, allocations: 55.62 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.006038, allocations: 157 kB / 0.702 GB, free: 5.434 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006049, allocations: 33.64 kB / 0.702 GB, free: 5.395 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.006088, allocations: 104 kB / 0.7021 GB, free: 5.289 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.00611, allocations: 43.66 kB / 0.7022 GB, free: 5.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.00615, allocations: 41.69 kB / 0.7022 GB, free: 5.199 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.006185, allocations: 322.8 kB / 0.7025 GB, free: 4.875 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.00628, allocations: 85.66 kB / 0.7026 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.006394, allocations: 202 kB / 0.7028 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.006549, allocations: 144.8 kB / 0.7029 GB, free: 4.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.006552, allocations: 3.938 kB / 0.7029 GB, free: 4.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002289/0.006781, allocations: 243.2 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.0068, allocations: 29.7 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006805, allocations: 8 kB / 0.7032 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.006817, allocations: 0 / 0.7032 GB, free: 4.102 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.006908, allocations: 31.92 kB / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006913, allocations: 0 / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.006989, allocations: 19.92 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.006999, allocations: 7.984 kB / 0.7033 GB, free: 4.043 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 5.738e-05/0.007056, allocations: 122.4 kB / 0.7034 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.007067, allocations: 11.91 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.007287, allocations: 186.2 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007289, allocations: 4 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007293, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007297, allocations: 0 / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.07e-05/0.007377, allocations: 153.2 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007379, allocations: 3.938 kB / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.007461, allocations: 19.98 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.007463, allocations: 4 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.007473, allocations: 4 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007474, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007476, allocations: 4 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.007768, allocations: 248.9 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.007785, allocations: 15.88 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.007803, allocations: 8 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.007859, allocations: 11.98 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.007906, allocations: 15.97 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.007915, allocations: 4 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.007959, allocations: 135.1 kB / 0.7042 GB, free: 3.055 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007959, allocations: 0 / 0.7042 GB, free: 3.055 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001311/0.00809, allocations: 32 kB / 0.7042 GB, free: 3.023 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.61e-05/0.008156, allocations: 99.25 kB / 0.7043 GB, free: 2.914 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.008388, allocations: 216.9 kB / 0.7045 GB, free: 2.684 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.00839, allocations: 3.938 kB / 0.7045 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.008475, allocations: 59.89 kB / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.008668, allocations: 51.89 kB / 0.7046 GB, free: 2.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.009108, allocations: 331.2 kB / 0.7049 GB, free: 2.215 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.009147, allocations: 97.8 kB / 0.705 GB, free: 2.102 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.009192, allocations: 20.5 kB / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of SimCode: time 8.02e-07/0.009193, allocations: 0 / 0.7051 GB, free: 2.078 MB / 410.8 MB Notification: Performance of Templates: time 0.002296/0.01149, allocations: 2.056 MB / 0.7071 GB, free: 48 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite_Leffler1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.365985774435103]