Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.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.001861/0.001861, 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.002097/0.002097, allocations: 174.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.598/1.598, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.417/1.417, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.146e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226): time 0.00288/0.002911, allocations: 1.826 MB / 0.7017 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003975, allocations: 0.5538 MB / 0.7022 GB, free: 6.148 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.004068, allocations: 7.938 kB / 0.7022 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.004174, allocations: 11.86 kB / 0.7022 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.004583, allocations: 67.53 kB / 0.7023 GB, free: 6.062 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.004799, allocations: 67.77 kB / 0.7024 GB, free: 5.996 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.005043, allocations: 163.3 kB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.005093, allocations: 9.297 kB / 0.7025 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.005262, allocations: 95.72 kB / 0.7026 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.00553, allocations: 79.77 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.005575, allocations: 8 kB / 0.7027 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.095e-05/0.005606, allocations: 4 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.005677, allocations: 43.83 kB / 0.7028 GB, free: 5.602 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.005746, allocations: 35.91 kB / 0.7028 GB, free: 5.566 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.005904, allocations: 103.7 kB / 0.7029 GB, free: 5.465 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005908, allocations: 3.938 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005909, allocations: 0 / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005915, allocations: 4 kB / 0.7029 GB, free: 5.457 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.0008059/0.00672, allocations: 387.5 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.006761, allocations: 16.03 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.006825, allocations: 12.84 kB / 0.7033 GB, free: 5.016 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.007036, allocations: 146.2 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.007058, allocations: 8.375 kB / 0.7034 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.007092, allocations: 12.3 kB / 0.7035 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.007358, allocations: 94.19 kB / 0.7035 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.007369, allocations: 3.938 kB / 0.7036 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.007386, allocations: 4 kB / 0.7036 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.007392, allocations: 0 / 0.7036 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.00768, allocations: 91.91 kB / 0.7036 GB, free: 4.633 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.008162, allocations: 276.4 kB / 0.7039 GB, free: 4.332 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.008543, allocations: 138.3 kB / 0.704 GB, free: 4.188 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.008689, allocations: 56.81 kB / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.008708, allocations: 0 / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.008987, allocations: 110.6 kB / 0.7042 GB, free: 4.012 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.008988, allocations: 4 kB / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005871/0.009575, allocations: 201.6 kB / 0.7044 GB, free: 3.805 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.009611, allocations: 55.41 kB / 0.7044 GB, free: 3.738 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.009739, allocations: 155.6 kB / 0.7046 GB, free: 3.578 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.009757, allocations: 29.7 kB / 0.7046 GB, free: 3.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.009809, allocations: 104.1 kB / 0.7047 GB, free: 3.438 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.009843, allocations: 47.62 kB / 0.7048 GB, free: 3.391 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.009917, allocations: 37.7 kB / 0.7048 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.009992, allocations: 330.8 kB / 0.7051 GB, free: 3.016 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.01016, allocations: 81.66 kB / 0.7052 GB, free: 2.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.01037, allocations: 197.4 kB / 0.7054 GB, free: 2.703 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.01067, allocations: 138.5 kB / 0.7055 GB, free: 2.559 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01067, allocations: 3.938 kB / 0.7055 GB, free: 2.555 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004067/0.01108, allocations: 247.6 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.01111, allocations: 37.7 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01112, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01114, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01131, allocations: 31.97 kB / 0.7058 GB, free: 2.223 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.01133, allocations: 0 / 0.7058 GB, free: 2.223 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.0115, allocations: 19.92 kB / 0.7058 GB, free: 2.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.01151, 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 7.819e-05/0.01159, allocations: 125.7 kB / 0.706 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.01162, allocations: 19.91 kB / 0.706 GB, free: 2.043 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.01201, allocations: 166.4 kB / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01202, allocations: 0 / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01202, allocations: 0 / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01203, allocations: 4.203 kB / 0.7062 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.01215, allocations: 145.2 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01216, allocations: 7.875 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.01233, allocations: 27.92 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01233, allocations: 0 / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01235, allocations: 7.984 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01235, allocations: 8 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01235, allocations: 48 / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.01289, allocations: 252.7 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.01292, allocations: 19.81 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.01295, allocations: 3.984 kB / 0.7066 GB, free: 1.367 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.01308, allocations: 15.98 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.01316, allocations: 11.98 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01317, allocations: 12.05 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.01327, allocations: 129.3 kB / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01327, allocations: 0 / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002184/0.01349, allocations: 32 kB / 0.7068 GB, free: 1.172 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.0001284/0.01362, allocations: 95.25 kB / 0.7069 GB, free: 1.066 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.01403, allocations: 216.9 kB / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01403, allocations: 0 / 0.7071 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.01421, allocations: 63.95 kB / 0.7072 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.01452, allocations: 39.89 kB / 0.7072 GB, free: 0.7344 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.01524, allocations: 309.5 kB / 0.7075 GB, free: 416 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.835e-05/0.01531, allocations: 97.8 kB / 0.7076 GB, free: 300 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.01541, allocations: 25.42 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.01547, allocations: 16.5 kB / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of SimCode: time 9.92e-07/0.01547, allocations: 0 / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of Templates: time 0.007254/0.02272, allocations: 2.49 MB / 0.7101 GB, free: 13.83 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.877549160039052]