Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_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.001926/0.001926, 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.00201/0.00201, allocations: 169.9 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.616/1.616, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.356/1.356, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6999 GB, free: 9.551 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.041e-05, allocations: 2.281 kB / 0.6999 GB, free: 9.547 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference): time 0.003331/0.003361, allocations: 1.829 MB / 0.7017 GB, free: 7.707 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004655, allocations: 0.5418 MB / 0.7022 GB, free: 7.16 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.004725, allocations: 0 / 0.7022 GB, free: 7.16 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.004839, allocations: 11.86 kB / 0.7022 GB, free: 7.148 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.005219, allocations: 67.53 kB / 0.7023 GB, free: 7.082 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.005416, allocations: 71.83 kB / 0.7024 GB, free: 7.012 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.005701, allocations: 163.3 kB / 0.7025 GB, free: 6.852 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.005747, allocations: 13.19 kB / 0.7025 GB, free: 6.84 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.005922, allocations: 95.77 kB / 0.7026 GB, free: 6.746 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.006181, allocations: 67.84 kB / 0.7027 GB, free: 6.68 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.006213, allocations: 8 kB / 0.7027 GB, free: 6.672 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.006241, allocations: 8 kB / 0.7027 GB, free: 6.664 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.006329, allocations: 39.83 kB / 0.7027 GB, free: 6.625 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.006411, allocations: 39.91 kB / 0.7028 GB, free: 6.586 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.006604, allocations: 103.7 kB / 0.7029 GB, free: 6.484 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006607, allocations: 0 / 0.7029 GB, free: 6.484 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006608, allocations: 0 / 0.7029 GB, free: 6.484 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006613, allocations: 0 / 0.7029 GB, free: 6.484 MB / 458.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.0009641/0.007577, allocations: 387.5 kB / 0.7032 GB, free: 6.07 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.007614, allocations: 12.03 kB / 0.7033 GB, free: 6.059 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.007675, allocations: 16.84 kB / 0.7033 GB, free: 6.043 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.007927, allocations: 158.1 kB / 0.7034 GB, free: 5.863 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.00795, allocations: 8.375 kB / 0.7034 GB, free: 5.855 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.007983, allocations: 8.375 kB / 0.7034 GB, free: 5.848 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.008292, allocations: 94.19 kB / 0.7035 GB, free: 5.75 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.008308, allocations: 3.938 kB / 0.7035 GB, free: 5.746 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.008325, allocations: 7.922 kB / 0.7035 GB, free: 5.738 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008332, allocations: 4 kB / 0.7035 GB, free: 5.734 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.008646, allocations: 83.92 kB / 0.7036 GB, free: 5.652 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.009574, allocations: 284.3 kB / 0.7039 GB, free: 5.344 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.01002, allocations: 134.4 kB / 0.704 GB, free: 5.203 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.01019, allocations: 48.81 kB / 0.7041 GB, free: 5.152 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01021, allocations: 4 kB / 0.7041 GB, free: 5.148 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.01052, allocations: 115.4 kB / 0.7042 GB, free: 5.023 MB / 458.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01053, allocations: 4 kB / 0.7042 GB, free: 5.02 MB / 458.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006652/0.01119, allocations: 197.1 kB / 0.7044 GB, free: 4.824 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.01126, allocations: 55.41 kB / 0.7044 GB, free: 4.758 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01146, allocations: 155.4 kB / 0.7046 GB, free: 4.598 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.01149, allocations: 29.7 kB / 0.7046 GB, free: 4.562 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.01159, allocations: 104.1 kB / 0.7047 GB, free: 4.457 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.01164, allocations: 47.62 kB / 0.7048 GB, free: 4.41 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.01172, allocations: 33.7 kB / 0.7048 GB, free: 4.371 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.01192, allocations: 330.8 kB / 0.7051 GB, free: 4.039 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.01213, allocations: 81.66 kB / 0.7052 GB, free: 3.953 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.01243, allocations: 198.2 kB / 0.7054 GB, free: 3.723 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.01278, allocations: 149.8 kB / 0.7055 GB, free: 3.57 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.01278, allocations: 3.938 kB / 0.7055 GB, free: 3.566 MB / 458.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005311/0.01331, allocations: 236.9 kB / 0.7057 GB, free: 3.316 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.01336, allocations: 33.7 kB / 0.7058 GB, free: 3.277 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01336, allocations: 0 / 0.7058 GB, free: 3.277 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.01338, allocations: 7.984 kB / 0.7058 GB, free: 3.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.01356, allocations: 27.92 kB / 0.7058 GB, free: 3.242 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01357, allocations: 0 / 0.7058 GB, free: 3.242 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.01374, allocations: 19.88 kB / 0.7058 GB, free: 3.223 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.01376, allocations: 8.047 kB / 0.7058 GB, free: 3.215 MB / 458.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 0.000143/0.01391, allocations: 129.8 kB / 0.706 GB, free: 3.078 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.01393, allocations: 11.95 kB / 0.706 GB, free: 3.066 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.0144, allocations: 178.5 kB / 0.7061 GB, free: 2.887 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.01441, allocations: 4 kB / 0.7061 GB, free: 2.883 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01442, allocations: 3.938 kB / 0.7061 GB, free: 2.879 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01442, allocations: 0 / 0.7061 GB, free: 2.879 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.01462, allocations: 141.2 kB / 0.7063 GB, free: 2.711 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.01462, allocations: 3.938 kB / 0.7063 GB, free: 2.707 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.01481, allocations: 23.97 kB / 0.7063 GB, free: 2.684 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01481, allocations: 4 kB / 0.7063 GB, free: 2.68 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.01483, allocations: 11.94 kB / 0.7063 GB, free: 2.668 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01483, allocations: 0 / 0.7063 GB, free: 2.668 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01483, allocations: 0 / 0.7063 GB, free: 2.668 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.01547, allocations: 252.9 kB / 0.7066 GB, free: 2.402 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.01551, allocations: 23.81 kB / 0.7066 GB, free: 2.379 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.01555, allocations: 4 kB / 0.7066 GB, free: 2.375 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.01568, allocations: 11.98 kB / 0.7066 GB, free: 2.363 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.01576, allocations: 20.03 kB / 0.7066 GB, free: 2.344 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01577, allocations: 4 kB / 0.7066 GB, free: 2.34 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.000125/0.0159, allocations: 121.9 kB / 0.7067 GB, free: 2.223 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0159, allocations: 0 / 0.7067 GB, free: 2.223 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002254/0.01612, allocations: 32 kB / 0.7068 GB, free: 2.191 MB / 458.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.0001489/0.01627, allocations: 103.2 kB / 0.7069 GB, free: 2.082 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.0168, allocations: 204.9 kB / 0.7071 GB, free: 1.863 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0168, allocations: 0 / 0.7071 GB, free: 1.863 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.01702, allocations: 75.88 kB / 0.7071 GB, free: 1.789 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01735, allocations: 46.8 kB / 0.7072 GB, free: 1.746 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.01817, allocations: 313 kB / 0.7075 GB, free: 1.418 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01829, allocations: 93.81 kB / 0.7076 GB, free: 1.305 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.01839, allocations: 21.48 kB / 0.7076 GB, free: 1.285 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01846, allocations: 24.48 kB / 0.7076 GB, free: 1.262 MB / 458.8 MB Notification: Performance of SimCode: time 6.71e-07/0.01846, allocations: 0 / 0.7076 GB, free: 1.262 MB / 458.8 MB Notification: Performance of Templates: time 0.006759/0.02522, allocations: 2.495 MB / 0.7101 GB, free: 14.88 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.BasicBerylliumCarbonate.BasicBerylliumCarbonate_Finch1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.676727412035689]