Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.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.001912/0.001912, allocations: 84.44 kB / 19.17 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.002228/0.002228, allocations: 169.9 kB / 22.46 MB, free: 2.098 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.548/1.548, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.353/1.353, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.596e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.002262/0.002288, allocations: 1.821 MB / 0.7017 GB, free: 6.699 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.003126, allocations: 0.5537 MB / 0.7022 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.003182, allocations: 4 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.324e-05/0.003265, allocations: 11.86 kB / 0.7022 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.003594, allocations: 67.55 kB / 0.7023 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.00375, allocations: 67.64 kB / 0.7024 GB, free: 5.996 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.003931, allocations: 171.3 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.003974, allocations: 1.312 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.004093, allocations: 95.72 kB / 0.7026 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.004299, allocations: 79.83 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004327, allocations: 8 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.00435, allocations: 7.938 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.004405, allocations: 39.83 kB / 0.7027 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.004473, allocations: 35.91 kB / 0.7028 GB, free: 5.566 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.004602, allocations: 103.7 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004605, allocations: 3.984 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004606, allocations: 7.938 kB / 0.7029 GB, free: 5.453 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.00461, allocations: 0 / 0.7029 GB, free: 5.453 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.0006725/0.005282, allocations: 395.5 kB / 0.7033 GB, free: 5.031 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.005311, allocations: 8.031 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.005365, allocations: 16.84 kB / 0.7033 GB, free: 5.008 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.005534, allocations: 146.2 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.005551, allocations: 12.38 kB / 0.7034 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.005583, allocations: 4.375 kB / 0.7034 GB, free: 4.824 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.005819, allocations: 98.17 kB / 0.7035 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005829, allocations: 7.938 kB / 0.7035 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005842, allocations: 4 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.005847, allocations: 0 / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.006114, allocations: 87.86 kB / 0.7036 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.006526, allocations: 276.4 kB / 0.7039 GB, free: 4.324 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.006878, allocations: 142.3 kB / 0.704 GB, free: 4.176 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.007023, allocations: 52.81 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.007039, allocations: 4 kB / 0.7041 GB, free: 4.117 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.007282, allocations: 111.3 kB / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.007284, allocations: 0 / 0.7042 GB, free: 3.996 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005549/0.007839, allocations: 193.7 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.007868, allocations: 59.39 kB / 0.7044 GB, free: 3.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.007985, allocations: 155.6 kB / 0.7046 GB, free: 3.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.008002, allocations: 29.7 kB / 0.7046 GB, free: 3.535 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.008048, allocations: 104.1 kB / 0.7047 GB, free: 3.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.008077, allocations: 43.64 kB / 0.7048 GB, free: 3.387 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.008139, allocations: 41.64 kB / 0.7048 GB, free: 3.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.008187, allocations: 330.8 kB / 0.7051 GB, free: 3.008 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.008365, allocations: 81.66 kB / 0.7052 GB, free: 2.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.008561, allocations: 196.9 kB / 0.7054 GB, free: 2.695 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.008844, allocations: 138.5 kB / 0.7055 GB, free: 2.551 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008847, allocations: 7.938 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003927/0.00924, allocations: 239.5 kB / 0.7057 GB, free: 2.293 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.009282, allocations: 37.69 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009286, allocations: 0 / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.0093, allocations: 0 / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.009461, allocations: 35.86 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.009466, allocations: 0 / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.009637, allocations: 19.92 kB / 0.7058 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.009651, allocations: 15.98 kB / 0.7058 GB, free: 2.18 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 6.951e-05/0.009721, allocations: 118.4 kB / 0.706 GB, free: 2.055 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.009741, allocations: 15.91 kB / 0.706 GB, free: 2.039 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.01012, allocations: 170.3 kB / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01012, allocations: 0 / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01013, allocations: 224 / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01013, allocations: 0 / 0.7061 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01025, allocations: 157.2 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01025, allocations: 7.938 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.0104, allocations: 23.98 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0104, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01042, allocations: 4 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01042, allocations: 0 / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01042, allocations: 0 / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.01092, allocations: 256.6 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.01095, allocations: 19.81 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.01098, allocations: 12.06 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.01111, allocations: 11.98 kB / 0.7066 GB, free: 1.344 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.01119, allocations: 16.02 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.0112, allocations: 7.984 kB / 0.7066 GB, free: 1.32 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.01127, allocations: 125.8 kB / 0.7068 GB, free: 1.199 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 0 / 0.7068 GB, free: 1.199 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000205/0.01147, allocations: 32 kB / 0.7068 GB, free: 1.168 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.0001028/0.01158, allocations: 103.2 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.01198, allocations: 213 kB / 0.7071 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01198, allocations: 0 / 0.7071 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01216, allocations: 63.89 kB / 0.7071 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.01245, allocations: 51.81 kB / 0.7072 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.0131, allocations: 301.5 kB / 0.7075 GB, free: 404 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.266e-05/0.01315, allocations: 93.81 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.944e-05/0.01324, allocations: 25.47 kB / 0.7076 GB, free: 264 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.0133, allocations: 16.5 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.0133, allocations: 0 / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of Templates: time 0.006363/0.01966, allocations: 2.492 MB / 0.71 GB, free: 13.82 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.591769588878378]