Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.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.0006913/0.0006913, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002058, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002397, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.043/1.043, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.148, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7565/0.7565, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03438/0.7909, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.Iodine131.Iodine131,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.9e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131): time 0.002994/0.003023, allocations: 1.96 MB / 0.5465 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.004021, allocations: 0.5731 MB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.004096, allocations: 0 / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.538e-05/0.004162, allocations: 15.86 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.004463, allocations: 67.48 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.004657, allocations: 67.77 kB / 0.5472 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.004912, allocations: 160 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.004967, allocations: 13.94 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.005169, allocations: 115.8 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.005406, allocations: 71.78 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.005437, allocations: 8 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.005461, allocations: 8 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.005515, allocations: 23.92 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.005573, allocations: 35.88 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.005722, allocations: 83.67 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.131e-05/0.005743, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005745, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.005763, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 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.0006751/0.006439, allocations: 380.2 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.006474, allocations: 15.88 kB / 0.548 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.006523, allocations: 8.938 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.006709, allocations: 166.8 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.006732, allocations: 8.375 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.006759, allocations: 12.36 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.00692, allocations: 73.03 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006929, allocations: 3.938 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.006939, allocations: 0 / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006946, allocations: 4 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.007007, allocations: 23.97 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.007317, allocations: 193.9 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.007458, allocations: 126.9 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.007495, allocations: 16.86 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.007511, allocations: 4 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.007661, allocations: 90.22 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.007663, allocations: 0 / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001839/0.007847, allocations: 93.59 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.007874, allocations: 51.62 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.007959, allocations: 150.6 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.007975, allocations: 33.64 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.008008, allocations: 100.1 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.00804, allocations: 43.61 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.008095, allocations: 41.64 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.008132, allocations: 322.8 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.008182, allocations: 44.52 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.008257, allocations: 165.1 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.00834, allocations: 87.48 kB / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008342, allocations: 0 / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001363/0.008479, allocations: 151.8 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.008511, allocations: 33.7 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008516, allocations: 4 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.008526, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.008676, allocations: 27.98 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00868, allocations: 3.938 kB / 0.55 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.746e-05/0.008778, allocations: 15.98 kB / 0.5501 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.008789, allocations: 4 kB / 0.5501 GB, free: 24.63 MB / 410.7 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 6.025e-05/0.008849, allocations: 116.7 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.008871, allocations: 19.92 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.009015, allocations: 102.5 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009017, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009018, allocations: 3.938 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.009022, allocations: 0 / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/0.009119, allocations: 97.75 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009121, allocations: 3.984 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.009239, allocations: 27.98 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.009258, allocations: 7.953 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.009261, allocations: 7.938 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.009275, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.009277, allocations: 4 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009279, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.00946, allocations: 138.6 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.009485, allocations: 7.922 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.009566, allocations: 12 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.009611, allocations: 11.97 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.00962, allocations: 3.375 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.009662, allocations: 50.44 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009662, allocations: 0 / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.009853, allocations: 32 kB / 0.5507 GB, free: 23.94 MB / 410.7 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.213e-05/0.009945, allocations: 84.39 kB / 0.5508 GB, free: 23.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.01011, allocations: 157 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.01012, allocations: 0 / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.01018, allocations: 40.78 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01038, allocations: 46.72 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.01414, allocations: 362.2 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.01418, allocations: 71.83 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.948e-05/0.01427, allocations: 17.48 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.01441, allocations: 95.28 kB / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01441, allocations: 0 / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of Templates: time 0.005363/0.01978, allocations: 2.737 MB / 0.5542 GB, free: 20.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3360837530344725]