Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.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.001253/0.001253, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009318/0.0009318, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.8681/0.8681, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6272/0.6272, allocations: 291.2 MB / 0.5382 GB, free: 51.86 MB / 410.7 MB " [Timeout remaining time 179] 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.214e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137): time 0.001812/0.001835, allocations: 1.836 MB / 0.6992 GB, free: 8.473 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005861/0.002421, allocations: 0.546 MB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.002466, allocations: 0 / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.121e-05/0.002548, allocations: 15.86 kB / 0.6997 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.002805, allocations: 71.47 kB / 0.6998 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.002916, allocations: 67.28 kB / 0.6999 GB, free: 7.773 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003046, allocations: 167.3 kB / 0.7 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.003081, allocations: 5.312 kB / 0.7 GB, free: 7.605 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.003167, allocations: 91.78 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.003327, allocations: 83.75 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.003346, allocations: 4 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.003362, allocations: 8 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.003405, allocations: 27.91 kB / 0.7002 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.003448, allocations: 47.84 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.00355, allocations: 99.67 kB / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003552, allocations: 0 / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.003554, allocations: 3.984 kB / 0.7004 GB, free: 7.246 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.003557, allocations: 0 / 0.7004 GB, free: 7.246 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.0004594/0.004017, allocations: 391.5 kB / 0.7007 GB, free: 6.828 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.004044, allocations: 15.97 kB / 0.7008 GB, free: 6.812 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.004083, allocations: 16.84 kB / 0.7008 GB, free: 6.797 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.004197, allocations: 146.2 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004209, allocations: 8.375 kB / 0.7009 GB, free: 6.621 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.004229, allocations: 4.375 kB / 0.7009 GB, free: 6.617 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004377, allocations: 102.2 kB / 0.701 GB, free: 6.512 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004384, allocations: 3.938 kB / 0.701 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004394, allocations: 4 kB / 0.701 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.004398, allocations: 0 / 0.701 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.004538, allocations: 79.86 kB / 0.7011 GB, free: 6.426 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.004838, allocations: 288.4 kB / 0.7014 GB, free: 6.113 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.005046, allocations: 134.4 kB / 0.7015 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.005119, allocations: 52.81 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.005132, allocations: 4 kB / 0.7016 GB, free: 5.914 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.005283, allocations: 111.3 kB / 0.7017 GB, free: 5.793 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.005285, allocations: 224 / 0.7017 GB, free: 5.793 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003048/0.00559, allocations: 201.6 kB / 0.7019 GB, free: 5.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.005611, allocations: 59.33 kB / 0.7019 GB, free: 5.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.005694, allocations: 161 kB / 0.7021 GB, free: 5.355 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.005707, allocations: 29.7 kB / 0.7021 GB, free: 5.32 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.00574, allocations: 100.1 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.005761, allocations: 39.64 kB / 0.7022 GB, free: 5.18 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.005801, allocations: 41.7 kB / 0.7023 GB, free: 5.133 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.785e-05/0.005828, allocations: 322.8 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.005921, allocations: 89.58 kB / 0.7027 GB, free: 4.715 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.006027, allocations: 202.1 kB / 0.7029 GB, free: 4.48 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.006175, allocations: 144.5 kB / 0.703 GB, free: 4.332 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.006178, allocations: 3.938 kB / 0.703 GB, free: 4.328 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002071/0.006385, allocations: 236.8 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.006407, allocations: 37.69 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.00641, allocations: 4 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.006425, allocations: 0 / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.006517, allocations: 27.97 kB / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006522, allocations: 0 / 0.7033 GB, free: 4.004 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.0066, allocations: 27.91 kB / 0.7033 GB, free: 3.977 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.006609, allocations: 3.984 kB / 0.7033 GB, free: 3.973 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 5.092e-05/0.00666, allocations: 126.4 kB / 0.7034 GB, free: 3.84 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.006672, allocations: 15.91 kB / 0.7035 GB, free: 3.824 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.006881, allocations: 178.2 kB / 0.7036 GB, free: 3.652 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006883, allocations: 0 / 0.7036 GB, free: 3.652 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.006886, allocations: 0 / 0.7036 GB, free: 3.652 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006889, allocations: 0 / 0.7036 GB, free: 3.652 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.65e-05/0.006966, allocations: 157.2 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006967, allocations: 3.938 kB / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.007043, allocations: 23.98 kB / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007046, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-06/0.007055, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.007057, allocations: 8 kB / 0.7038 GB, free: 3.434 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007058, allocations: 0 / 0.7038 GB, free: 3.434 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.00733, allocations: 252.9 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.007345, allocations: 15.88 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.007364, allocations: 0 / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.007421, allocations: 15.98 kB / 0.7041 GB, free: 3.137 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.007468, allocations: 15.91 kB / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.007475, allocations: 8 kB / 0.7041 GB, free: 3.113 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.007521, allocations: 127.2 kB / 0.7042 GB, free: 2.988 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007521, allocations: 3.938 kB / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001294/0.00765, allocations: 32 kB / 0.7043 GB, free: 2.953 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 7.417e-05/0.007725, allocations: 99.23 kB / 0.7044 GB, free: 2.844 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.007947, allocations: 211.3 kB / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007948, allocations: 4 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.00803, allocations: 63.89 kB / 0.7046 GB, free: 2.555 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008212, allocations: 43.89 kB / 0.7047 GB, free: 2.512 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.008646, allocations: 343.1 kB / 0.705 GB, free: 2.145 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.008688, allocations: 97.8 kB / 0.7051 GB, free: 2.031 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.008734, allocations: 16.5 kB / 0.7051 GB, free: 2.012 MB / 410.8 MB Notification: Performance of SimCode: time 9.22e-07/0.008735, allocations: 0 / 0.7051 GB, free: 2.012 MB / 410.8 MB Notification: Performance of Templates: time 0.0022/0.01093, allocations: 2.061 MB / 0.7071 GB, free: 15.96 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.243006628938019]