Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_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.001912/0.001912, 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.002313/0.002313, 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.607/1.607, 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.391/1.391, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.Cesium137.Cesium137_Thomas2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.712e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference): time 0.003305/0.003332, allocations: 1.822 MB / 0.7017 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.004576, allocations: 0.5458 MB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.004657, allocations: 3.938 kB / 0.7022 GB, free: 6.152 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.004758, allocations: 15.86 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.005165, allocations: 67.53 kB / 0.7023 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.005391, allocations: 71.39 kB / 0.7023 GB, free: 6.004 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.005647, allocations: 167.3 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.005697, allocations: 5.312 kB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.005863, allocations: 91.77 kB / 0.7026 GB, free: 5.746 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.006123, allocations: 79.78 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.006158, allocations: 8 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/0.006189, allocations: 8 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.006261, allocations: 35.83 kB / 0.7027 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.006338, allocations: 39.91 kB / 0.7028 GB, free: 5.578 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.006511, allocations: 103.6 kB / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006514, allocations: 0 / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006515, allocations: 0 / 0.7029 GB, free: 5.477 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00652, allocations: 0 / 0.7029 GB, free: 5.477 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.0009528/0.007473, allocations: 399.5 kB / 0.7032 GB, free: 5.051 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.007509, allocations: 15.89 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.007584, allocations: 16.78 kB / 0.7033 GB, free: 5.02 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.007801, allocations: 149 kB / 0.7034 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.007822, allocations: 4.375 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.007864, allocations: 12.38 kB / 0.7034 GB, free: 4.836 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.008232, allocations: 94.19 kB / 0.7035 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.008245, allocations: 3.938 kB / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.008263, allocations: 0 / 0.7035 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008269, allocations: 7.938 kB / 0.7035 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.008754, allocations: 87.91 kB / 0.7036 GB, free: 4.641 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.009383, allocations: 280.4 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.01001, allocations: 134.4 kB / 0.704 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.01027, allocations: 52.81 kB / 0.7041 GB, free: 4.141 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.01029, allocations: 11.92 kB / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.01068, allocations: 111.3 kB / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.01068, allocations: 0 / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009349/0.01162, allocations: 197.6 kB / 0.7044 GB, free: 3.809 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.01165, allocations: 51.41 kB / 0.7044 GB, free: 3.746 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01183, allocations: 157 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01186, allocations: 29.7 kB / 0.7046 GB, free: 3.551 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.01193, allocations: 112 kB / 0.7047 GB, free: 3.438 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.01198, allocations: 43.62 kB / 0.7047 GB, free: 3.395 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01208, allocations: 45.7 kB / 0.7048 GB, free: 3.344 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.01213, allocations: 322.8 kB / 0.7051 GB, free: 3.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.01243, allocations: 77.66 kB / 0.7052 GB, free: 2.938 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.01278, allocations: 206.9 kB / 0.7054 GB, free: 2.699 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.01332, allocations: 137.3 kB / 0.7055 GB, free: 2.559 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01332, 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.0007242/0.01405, allocations: 244.8 kB / 0.7057 GB, free: 2.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.01408, allocations: 29.7 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.01409, allocations: 7.938 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.01412, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.0144, allocations: 27.97 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.0144, allocations: 0 / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.0147, allocations: 19.92 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.01472, allocations: 4 kB / 0.7058 GB, free: 2.203 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 0.0001118/0.01483, allocations: 134.9 kB / 0.7059 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.01487, allocations: 19.89 kB / 0.706 GB, free: 2.043 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.01551, allocations: 166.1 kB / 0.7061 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.01551, allocations: 4 kB / 0.7061 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01552, allocations: 3.938 kB / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01552, allocations: 0 / 0.7061 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01569, allocations: 141.2 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.0157, allocations: 4.156 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.01598, allocations: 31.98 kB / 0.7063 GB, free: 1.672 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01598, allocations: 7.922 kB / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.016, allocations: 0 / 0.7063 GB, free: 1.664 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01601, allocations: 4 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01601, allocations: 7.938 kB / 0.7063 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.01694, allocations: 245 kB / 0.7065 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.01698, allocations: 23.8 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.01703, allocations: 0 / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.01725, allocations: 20.05 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.01734, allocations: 11.97 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01736, allocations: 4 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000129/0.01749, allocations: 123.1 kB / 0.7067 GB, free: 1.215 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01749, allocations: 0 / 0.7067 GB, free: 1.215 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003989/0.01789, allocations: 32 kB / 0.7068 GB, free: 1.184 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.0001338/0.01802, allocations: 104.5 kB / 0.7069 GB, free: 1.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.01869, allocations: 220.1 kB / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01869, allocations: 0 / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.01898, allocations: 63.88 kB / 0.7071 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.01947, allocations: 43.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.0009125/0.02038, allocations: 305.5 kB / 0.7075 GB, free: 420 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.279e-05/0.02046, allocations: 97.8 kB / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.0206, allocations: 29.52 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.02068, allocations: 20.48 kB / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of SimCode: time 5.21e-07/0.02068, allocations: 0 / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of Templates: time 0.0113/0.03198, allocations: 2.497 MB / 0.71 GB, free: 13.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.823445311048999]