Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.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.0007431/0.0007431, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.00181, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.000757/0.000757, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001768, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 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.9843/0.9843, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07534/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7824/0.7824, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05355/0.8359, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.276e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate): time 0.001634/0.001657, allocations: 1.955 MB / 0.5464 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.002208, allocations: 0.5719 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.00225, allocations: 0 / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.002295, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.002499, allocations: 75.47 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.002617, allocations: 67.77 kB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.002762, allocations: 168 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.002796, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.002922, allocations: 119.7 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.003082, allocations: 75.78 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.003103, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.00312, allocations: 4 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.003158, allocations: 27.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.003199, allocations: 27.94 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.003296, allocations: 83.67 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.003308, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003308, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.003317, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 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.0004553/0.003773, allocations: 384.2 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.0038, allocations: 12.03 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.003834, allocations: 12.92 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.003944, allocations: 161.9 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.003961, allocations: 8.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.003978, allocations: 4.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.004087, allocations: 85.03 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004093, allocations: 7.938 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.004102, allocations: 3.984 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.004106, allocations: 0 / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.004144, allocations: 23.98 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.004366, allocations: 193.8 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.881e-05/0.004465, allocations: 114.9 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.004488, allocations: 20.86 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.004501, allocations: 4 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.654e-05/0.004598, allocations: 94.22 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.004599, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000124/0.004723, allocations: 89.59 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.004743, allocations: 55.41 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.004799, allocations: 146.6 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.00481, allocations: 33.92 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.004837, allocations: 96.06 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.00486, allocations: 47.56 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-05/0.0049, allocations: 45.62 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.969e-05/0.004929, allocations: 322.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.004964, allocations: 44.53 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/0.005014, allocations: 162.1 kB / 0.5497 GB, free: 25.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.005072, allocations: 88.09 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005074, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.561e-05/0.005159, allocations: 146.8 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.005183, allocations: 33.7 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005187, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.005194, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.005301, allocations: 39.92 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.005304, allocations: 3.625 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.005368, allocations: 15.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.005375, allocations: 4 kB / 0.55 GB, free: 24.65 MB / 410.7 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.278e-05/0.005418, allocations: 124.7 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.00543, allocations: 11.94 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.005524, allocations: 94.36 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005526, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.005527, allocations: 0 / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.00553, allocations: 3.984 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.005596, allocations: 101.8 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005597, allocations: 4 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.005668, allocations: 23.98 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.00568, allocations: 7.953 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.005683, allocations: 3.984 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.005693, allocations: 7.984 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005694, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005695, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.005814, allocations: 143.2 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.005829, allocations: 3.938 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.005873, allocations: 16.02 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.005907, allocations: 11.98 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.005914, allocations: 7.984 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.472e-05/0.005939, allocations: 39.94 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005939, allocations: 0 / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001043/0.006043, allocations: 35.94 kB / 0.5506 GB, free: 23.96 MB / 410.7 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.599e-05/0.006109, allocations: 84.41 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.006223, allocations: 145.9 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.006226, allocations: 0 / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.006264, allocations: 48.91 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.0064, allocations: 53.08 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.00878, allocations: 354.2 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.008808, allocations: 75.83 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.008864, allocations: 13.48 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.008962, allocations: 87.33 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008963, allocations: 8 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003544/0.01251, allocations: 2.736 MB / 0.5541 GB, free: 20.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.192626228556037]