Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.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.001937/0.001937, 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.002094/0.002094, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.572/1.572, 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.334/1.334, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.524e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid): time 0.00253/0.002555, allocations: 1.825 MB / 0.7017 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.003488, allocations: 0.5538 MB / 0.7022 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.003551, allocations: 0 / 0.7022 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.689e-05/0.003648, allocations: 15.86 kB / 0.7022 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.003981, allocations: 63.53 kB / 0.7023 GB, free: 6.051 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.004153, allocations: 71.77 kB / 0.7024 GB, free: 5.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.004339, allocations: 163.3 kB / 0.7025 GB, free: 5.82 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.004386, allocations: 9.312 kB / 0.7025 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.004507, allocations: 91.72 kB / 0.7026 GB, free: 5.723 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.004723, allocations: 75.83 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.004753, allocations: 4 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.004776, allocations: 11.94 kB / 0.7027 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.004837, allocations: 39.84 kB / 0.7028 GB, free: 5.594 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.004897, allocations: 43.89 kB / 0.7028 GB, free: 5.551 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.005026, allocations: 103.6 kB / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005029, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.233e-06/0.00503, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.005033, allocations: 0 / 0.7029 GB, free: 5.449 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.0007302/0.005764, allocations: 395.5 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.0058, allocations: 16.03 kB / 0.7033 GB, free: 5.012 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.005855, allocations: 12.84 kB / 0.7033 GB, free: 5 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006039, allocations: 150.2 kB / 0.7034 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.006093, allocations: 8.359 kB / 0.7034 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.006121, allocations: 8.375 kB / 0.7035 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.006366, allocations: 93.44 kB / 0.7035 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006377, allocations: 3.938 kB / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.006397, allocations: 11.94 kB / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006401, allocations: 0 / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.006662, allocations: 87.91 kB / 0.7036 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.0071, allocations: 276.4 kB / 0.7039 GB, free: 4.316 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.007446, allocations: 138.4 kB / 0.704 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.007584, allocations: 48.81 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.007599, allocations: 7.938 kB / 0.7041 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.007834, allocations: 111.3 kB / 0.7042 GB, free: 3.992 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.007835, allocations: 4 kB / 0.7042 GB, free: 3.988 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005322/0.008368, allocations: 197.6 kB / 0.7044 GB, free: 3.789 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.008396, allocations: 51.41 kB / 0.7044 GB, free: 3.727 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.008506, allocations: 157 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.008526, allocations: 37.64 kB / 0.7046 GB, free: 3.523 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.008569, allocations: 100.1 kB / 0.7047 GB, free: 3.422 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.008596, allocations: 43.64 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.008656, allocations: 41.7 kB / 0.7048 GB, free: 3.332 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.008705, allocations: 326.8 kB / 0.7051 GB, free: 3.004 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.008861, allocations: 77.66 kB / 0.7052 GB, free: 2.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.009057, allocations: 202.9 kB / 0.7054 GB, free: 2.688 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.009313, allocations: 141.3 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.009316, allocations: 3.938 kB / 0.7055 GB, free: 2.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003585/0.009674, allocations: 240.8 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.009701, allocations: 41.64 kB / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009705, allocations: 0 / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.009721, allocations: 0 / 0.7058 GB, free: 2.238 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.009871, allocations: 31.91 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.009884, allocations: 0 / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.01005, allocations: 23.92 kB / 0.7058 GB, free: 2.184 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01006, allocations: 0 / 0.7058 GB, free: 2.184 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.197e-05/0.01013, allocations: 126.4 kB / 0.706 GB, free: 2.051 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.01015, allocations: 19.91 kB / 0.706 GB, free: 2.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.01052, allocations: 170.4 kB / 0.7061 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01053, allocations: 3.984 kB / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01053, allocations: 224 / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01053, allocations: 0 / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01065, allocations: 149.2 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01065, allocations: 3.938 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.0108, allocations: 23.98 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.0108, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.01082, allocations: 11.98 kB / 0.7063 GB, free: 1.645 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.01083, allocations: 11.94 kB / 0.7063 GB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01083, allocations: 0 / 0.7063 GB, free: 1.633 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.01132, allocations: 244 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01135, allocations: 23.8 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.01138, allocations: 4 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.0115, allocations: 11.98 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.01157, allocations: 16.08 kB / 0.7066 GB, free: 1.324 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01158, allocations: 11.98 kB / 0.7066 GB, free: 1.312 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.01165, allocations: 123.1 kB / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01165, allocations: 0 / 0.7068 GB, free: 1.191 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002077/0.01185, allocations: 32 kB / 0.7068 GB, free: 1.16 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.0001018/0.01196, allocations: 103.2 kB / 0.7069 GB, free: 1.047 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.01233, allocations: 213 kB / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01234, allocations: 0 / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.01249, allocations: 63.89 kB / 0.7072 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01278, allocations: 50.89 kB / 0.7072 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.01338, allocations: 313.5 kB / 0.7075 GB, free: 388 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.01344, allocations: 97.8 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.074e-05/0.01352, allocations: 21.48 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.01357, allocations: 16.5 kB / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of SimCode: time 3.01e-07/0.01357, allocations: 0 / 0.7076 GB, free: 232 kB / 410.8 MB Notification: Performance of Templates: time 0.006381/0.01995, allocations: 2.49 MB / 0.7101 GB, free: 13.81 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ChromicAcid.ChromicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.598774841986597]