Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_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.001802/0.001802, 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.002024/0.002024, allocations: 173.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.648/1.648, 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.361/1.361, 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_Kirchner1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.556e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference): time 0.005792/0.005818, allocations: 1.812 MB / 0.7016 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.006686, allocations: 0.5497 MB / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.006741, allocations: 0 / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.143e-05/0.006832, allocations: 19.86 kB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.007148, allocations: 67.47 kB / 0.7023 GB, free: 6.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.007306, allocations: 70.89 kB / 0.7023 GB, free: 6.023 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.007499, allocations: 163.3 kB / 0.7025 GB, free: 5.863 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.007548, allocations: 9.312 kB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.007672, allocations: 87.78 kB / 0.7026 GB, free: 5.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.007889, allocations: 83.75 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.007919, allocations: 8 kB / 0.7027 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.007943, allocations: 4 kB / 0.7027 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.007997, allocations: 35.89 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.00806, allocations: 35.92 kB / 0.7027 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.008201, allocations: 107.6 kB / 0.7028 GB, free: 5.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.008205, allocations: 4 kB / 0.7029 GB, free: 5.496 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.462e-06/0.008206, allocations: 0 / 0.7029 GB, free: 5.496 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.008211, allocations: 7.938 kB / 0.7029 GB, free: 5.488 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.0007734/0.008984, allocations: 391.5 kB / 0.7032 GB, free: 5.07 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.009018, allocations: 11.89 kB / 0.7032 GB, free: 5.059 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.009075, allocations: 20.78 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.009249, allocations: 146.2 kB / 0.7034 GB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.009265, allocations: 4.375 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.009307, allocations: 8.375 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.009556, allocations: 102.2 kB / 0.7035 GB, free: 4.754 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.009568, allocations: 3.938 kB / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.009584, allocations: 4 kB / 0.7035 GB, free: 4.746 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.009588, allocations: 3.938 kB / 0.7035 GB, free: 4.742 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.00986, allocations: 83.92 kB / 0.7036 GB, free: 4.66 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.0103, allocations: 280.4 kB / 0.7039 GB, free: 4.355 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.01066, allocations: 138.4 kB / 0.704 GB, free: 4.211 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.01082, allocations: 52.81 kB / 0.7041 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01084, allocations: 3.938 kB / 0.7041 GB, free: 4.152 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.01109, allocations: 107.3 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.0111, allocations: 0 / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005509/0.01165, allocations: 201.6 kB / 0.7044 GB, free: 3.832 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.01168, allocations: 59.41 kB / 0.7044 GB, free: 3.762 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.0118, allocations: 153 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.01181, allocations: 33.7 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.01186, allocations: 104 kB / 0.7047 GB, free: 3.461 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.01189, allocations: 43.64 kB / 0.7047 GB, free: 3.418 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01195, allocations: 41.91 kB / 0.7048 GB, free: 3.371 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01206, allocations: 326.8 kB / 0.7051 GB, free: 3.043 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.01224, allocations: 85.59 kB / 0.7052 GB, free: 2.953 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.01243, allocations: 198.1 kB / 0.7054 GB, free: 2.723 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.0127, allocations: 142.4 kB / 0.7055 GB, free: 2.578 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0127, allocations: 3.938 kB / 0.7055 GB, free: 2.574 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003761/0.01308, allocations: 240.8 kB / 0.7057 GB, free: 2.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.01311, allocations: 37.7 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01311, allocations: 3.938 kB / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.01314, allocations: 0 / 0.7058 GB, free: 2.273 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.0133, allocations: 23.98 kB / 0.7058 GB, free: 2.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.0133, allocations: 4 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.01347, allocations: 27.91 kB / 0.7058 GB, free: 2.219 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01348, allocations: 4 kB / 0.7058 GB, free: 2.215 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.59e-05/0.01356, allocations: 126.9 kB / 0.7059 GB, free: 2.082 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.01357, allocations: 15.91 kB / 0.706 GB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.01394, allocations: 173.1 kB / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01395, allocations: 0 / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01395, allocations: 7.938 kB / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01396, allocations: 0 / 0.7061 GB, free: 1.891 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.01407, allocations: 145.2 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01407, allocations: 3.938 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.01423, allocations: 23.98 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01423, allocations: 0 / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01424, allocations: 8 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01424, allocations: 0 / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01425, allocations: 3.938 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.01473, allocations: 248.9 kB / 0.7065 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.01476, allocations: 19.81 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.01479, allocations: 8 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01491, allocations: 11.97 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.01498, allocations: 15.98 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01499, allocations: 7.984 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.95e-05/0.01507, allocations: 123.1 kB / 0.7067 GB, free: 1.234 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01507, allocations: 0 / 0.7067 GB, free: 1.234 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001973/0.01527, allocations: 32 kB / 0.7067 GB, free: 1.203 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 9.141e-05/0.01536, allocations: 111.2 kB / 0.7069 GB, free: 1.082 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01574, allocations: 205 kB / 0.707 GB, free: 0.8633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01574, allocations: 7.938 kB / 0.7071 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.01591, allocations: 63.89 kB / 0.7071 GB, free: 0.793 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.0162, allocations: 43.89 kB / 0.7072 GB, free: 0.75 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.01678, allocations: 305.5 kB / 0.7075 GB, free: 436 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01683, allocations: 101.8 kB / 0.7075 GB, free: 316 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.01691, allocations: 17.48 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.01698, allocations: 20.5 kB / 0.7076 GB, free: 276 kB / 410.8 MB Notification: Performance of SimCode: time 3.31e-07/0.01698, allocations: 4 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of Templates: time 0.006495/0.02347, allocations: 2.506 MB / 0.71 GB, free: 13.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.6495258449576795]