Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_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.00205/0.00205, allocations: 88.44 kB / 19.18 MB, free: 0.7344 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.002765/0.002765, 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.621/1.621, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.317/1.317, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.26e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference): time 0.003618/0.00365, allocations: 1.808 MB / 0.7017 GB, free: 6.773 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004942, allocations: 0.5574 MB / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.005025, allocations: 0 / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.005152, allocations: 11.86 kB / 0.7022 GB, free: 6.199 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.005613, allocations: 67.48 kB / 0.7023 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.005857, allocations: 70.89 kB / 0.7023 GB, free: 6.066 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.006136, allocations: 175.2 kB / 0.7025 GB, free: 5.895 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.006193, allocations: 5.312 kB / 0.7025 GB, free: 5.891 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.006368, allocations: 87.78 kB / 0.7026 GB, free: 5.805 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.006657, allocations: 71.84 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.006698, allocations: 8 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.00673, allocations: 8 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.006806, allocations: 39.83 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.006887, allocations: 43.89 kB / 0.7028 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.007066, allocations: 99.62 kB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007069, allocations: 0 / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007071, allocations: 0 / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.007075, allocations: 0 / 0.7029 GB, free: 5.539 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.0009382/0.008013, allocations: 395.5 kB / 0.7032 GB, free: 5.117 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.008053, allocations: 12.03 kB / 0.7033 GB, free: 5.105 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.00813, allocations: 16.84 kB / 0.7033 GB, free: 5.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.00831, allocations: 150.1 kB / 0.7034 GB, free: 4.918 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.008327, allocations: 4.375 kB / 0.7034 GB, free: 4.914 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.008359, allocations: 8.375 kB / 0.7034 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.008615, allocations: 102.1 kB / 0.7035 GB, free: 4.801 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.008625, allocations: 3.938 kB / 0.7035 GB, free: 4.797 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.00864, allocations: 7.875 kB / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.008645, allocations: 0 / 0.7035 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.008918, allocations: 87.91 kB / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.009337, allocations: 280.4 kB / 0.7039 GB, free: 4.398 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.009803, allocations: 134.4 kB / 0.704 GB, free: 4.258 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.01, allocations: 56.81 kB / 0.7041 GB, free: 4.199 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.01002, allocations: 3.938 kB / 0.7041 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/0.01034, allocations: 107.3 kB / 0.7042 GB, free: 4.078 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01034, allocations: 4 kB / 0.7042 GB, free: 4.074 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007194/0.01106, allocations: 200.5 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.01109, allocations: 55.41 kB / 0.7044 GB, free: 3.809 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.01124, allocations: 155.6 kB / 0.7046 GB, free: 3.648 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01127, allocations: 33.64 kB / 0.7046 GB, free: 3.609 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.01131, allocations: 104.1 kB / 0.7047 GB, free: 3.504 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.01135, allocations: 43.64 kB / 0.7047 GB, free: 3.461 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.01144, allocations: 37.7 kB / 0.7048 GB, free: 3.418 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.01149, allocations: 326.8 kB / 0.7051 GB, free: 3.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.01171, allocations: 81.66 kB / 0.7052 GB, free: 3.004 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.01198, allocations: 202.1 kB / 0.7054 GB, free: 2.77 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.01236, allocations: 141 kB / 0.7055 GB, free: 2.625 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01237, allocations: 3.938 kB / 0.7055 GB, free: 2.621 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005321/0.0129, allocations: 240.8 kB / 0.7057 GB, free: 2.367 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.01293, allocations: 40.3 kB / 0.7058 GB, free: 2.324 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.01293, allocations: 0 / 0.7058 GB, free: 2.324 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01295, allocations: 0 / 0.7058 GB, free: 2.324 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.01317, allocations: 27.97 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.01317, allocations: 4.219 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.01341, allocations: 19.92 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01342, allocations: 7.938 kB / 0.7058 GB, free: 2.266 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 8.771e-05/0.01351, allocations: 129.7 kB / 0.7059 GB, free: 2.129 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.01354, allocations: 19.89 kB / 0.706 GB, free: 2.109 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.01405, allocations: 166.4 kB / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.01405, allocations: 0 / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01406, allocations: 0 / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01406, allocations: 0 / 0.7061 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01422, allocations: 145.2 kB / 0.7063 GB, free: 1.773 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.01423, allocations: 7.938 kB / 0.7063 GB, free: 1.766 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.01444, allocations: 23.98 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01444, allocations: 0 / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.01446, allocations: 15.92 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01447, allocations: 3.938 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01447, allocations: 0 / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.01518, allocations: 245 kB / 0.7065 GB, free: 1.465 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.01521, allocations: 27.83 kB / 0.7066 GB, free: 1.438 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.01525, allocations: 4 kB / 0.7066 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.01543, allocations: 11.98 kB / 0.7066 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.01551, allocations: 20.03 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01552, allocations: 0 / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.01562, allocations: 125.3 kB / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01562, allocations: 0 / 0.7067 GB, free: 1.281 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003424/0.01597, allocations: 32 kB / 0.7068 GB, free: 1.25 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.0001529/0.01612, allocations: 111.2 kB / 0.7069 GB, free: 1.129 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.01665, allocations: 213 kB / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01666, allocations: 0 / 0.7071 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.01689, allocations: 67.77 kB / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.01732, allocations: 44.55 kB / 0.7072 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.01813, allocations: 305.5 kB / 0.7075 GB, free: 484 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.076e-05/0.0182, allocations: 97.8 kB / 0.7076 GB, free: 368 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.01832, allocations: 21.48 kB / 0.7076 GB, free: 344 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.01839, allocations: 20.48 kB / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of SimCode: time 4.2e-07/0.01839, allocations: 0 / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of Templates: time 0.008764/0.02715, allocations: 2.508 MB / 0.71 GB, free: 13.92 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate_McAughey1988_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.652013977058232]