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.001813/0.001813, allocations: 76.45 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.001957/0.001957, allocations: 177.2 kB / 22.46 MB, free: 2.094 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.648/1.648, allocations: 177.1 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.33/1.33, allocations: 293 MB / 0.5392 GB, free: 49.27 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,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.333e-06/1.333e-06, allocations: 0 / 0.7 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.702e-05, allocations: 2.281 kB / 0.7 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate): time 0.002564/0.002591, allocations: 1.829 MB / 0.7017 GB, free: 6.703 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.00346, allocations: 0.546 MB / 0.7023 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.003525, allocations: 0 / 0.7023 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.3e-05/0.003618, allocations: 15.84 kB / 0.7023 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.003948, allocations: 67.53 kB / 0.7024 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004105, allocations: 70.91 kB / 0.7024 GB, free: 6.004 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.004293, allocations: 167.3 kB / 0.7026 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.00434, allocations: 5.312 kB / 0.7026 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004475, allocations: 95.77 kB / 0.7027 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.004685, allocations: 71.78 kB / 0.7027 GB, free: 5.672 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.004712, allocations: 8 kB / 0.7028 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.004734, allocations: 8 kB / 0.7028 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.004788, allocations: 39.81 kB / 0.7028 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.005102, allocations: 39.92 kB / 0.7028 GB, free: 5.578 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005242, allocations: 107.6 kB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005246, allocations: 0 / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005247, allocations: 0 / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005251, allocations: 0 / 0.7029 GB, free: 5.473 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.0007324/0.005984, allocations: 391.5 kB / 0.7033 GB, free: 5.055 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.006017, allocations: 15.88 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.00607, allocations: 20.84 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006231, allocations: 142.2 kB / 0.7035 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.006251, allocations: 12.31 kB / 0.7035 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.006279, allocations: 12.36 kB / 0.7035 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.006529, allocations: 98.17 kB / 0.7036 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006538, allocations: 3.938 kB / 0.7036 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006553, allocations: 3.938 kB / 0.7036 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.006557, allocations: 4 kB / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.006824, allocations: 83.92 kB / 0.7037 GB, free: 4.637 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.007238, allocations: 280.4 kB / 0.704 GB, free: 4.332 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.007603, allocations: 138.3 kB / 0.7041 GB, free: 4.188 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.007751, allocations: 48.83 kB / 0.7041 GB, free: 4.137 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.007767, allocations: 3.938 kB / 0.7041 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.008013, allocations: 119.3 kB / 0.7043 GB, free: 4.004 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.008015, allocations: 0 / 0.7043 GB, free: 4.004 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005582/0.008573, allocations: 193.7 kB / 0.7044 GB, free: 3.809 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.008604, allocations: 59.41 kB / 0.7045 GB, free: 3.738 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008716, allocations: 155.6 kB / 0.7046 GB, free: 3.578 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.008733, allocations: 33.62 kB / 0.7047 GB, free: 3.539 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.008782, allocations: 100.1 kB / 0.7048 GB, free: 3.438 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.008814, allocations: 51.62 kB / 0.7048 GB, free: 3.387 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.008879, allocations: 33.7 kB / 0.7049 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.008928, allocations: 326.8 kB / 0.7052 GB, free: 3.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.009097, allocations: 85.66 kB / 0.7052 GB, free: 2.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.009311, allocations: 201.4 kB / 0.7054 GB, free: 2.699 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.009598, allocations: 142.5 kB / 0.7056 GB, free: 2.551 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.0096, allocations: 3.938 kB / 0.7056 GB, free: 2.547 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003879/0.009988, allocations: 236.8 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.01001, allocations: 40.28 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01002, allocations: 4 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01003, allocations: 0 / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.0102, allocations: 31.98 kB / 0.7059 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.0102, allocations: 0 / 0.7059 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.01038, allocations: 15.92 kB / 0.7059 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.0104, allocations: 8 kB / 0.7059 GB, free: 2.195 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.012e-05/0.01048, allocations: 129.7 kB / 0.706 GB, free: 2.059 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.0105, allocations: 11.91 kB / 0.706 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.01089, allocations: 173.7 kB / 0.7062 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01089, allocations: 4 kB / 0.7062 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01089, allocations: 0 / 0.7062 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.0109, allocations: 224 / 0.7062 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.01102, allocations: 153.2 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01102, allocations: 7.875 kB / 0.7064 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.01118, allocations: 23.97 kB / 0.7064 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01119, allocations: 4 kB / 0.7064 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0112, allocations: 0 / 0.7064 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.0112, allocations: 7.938 kB / 0.7064 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0112, allocations: 0 / 0.7064 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.01171, allocations: 248.9 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.01174, allocations: 19.81 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.01177, allocations: 4 kB / 0.7067 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.0119, allocations: 15.98 kB / 0.7067 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.01197, allocations: 15.97 kB / 0.7067 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01198, allocations: 4.062 kB / 0.7067 GB, free: 1.332 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.288e-05/0.01205, allocations: 129.8 kB / 0.7068 GB, free: 1.207 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01205, allocations: 0 / 0.7068 GB, free: 1.207 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002099/0.01226, allocations: 32 kB / 0.7068 GB, free: 1.176 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.0001182/0.01238, allocations: 107.2 kB / 0.7069 GB, free: 1.059 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.01278, allocations: 205 kB / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01278, allocations: 4 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.01295, allocations: 67.89 kB / 0.7072 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01324, allocations: 43.89 kB / 0.7072 GB, free: 0.7266 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.01384, allocations: 309.5 kB / 0.7075 GB, free: 408 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.01389, allocations: 93.81 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.368e-05/0.01397, allocations: 21.48 kB / 0.7077 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.01404, allocations: 20.48 kB / 0.7077 GB, free: 252 kB / 410.8 MB Notification: Performance of SimCode: time 3.71e-07/0.01404, allocations: 0 / 0.7077 GB, free: 252 kB / 410.8 MB Notification: Performance of Templates: time 0.006363/0.0204, allocations: 2.489 MB / 0.7101 GB, free: 13.84 MB / 426.8 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: 6.7860070038586855]