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.0007324/0.0007324, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.001637, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007205/0.0007205, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008731/0.001594, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 0.9749/0.9749, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09831/1.073, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.898/0.898, allocations: 291.2 MB / 0.5227 GB, free: 52.68 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0381/0.9361, allocations: 21.04 MB / 0.5433 GB, free: 31.7 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.522e-06/1.522e-06, allocations: 0 / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.562e-05, allocations: 14.19 kB / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137): time 0.002146/0.002172, allocations: 1.976 MB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.002909, allocations: 0.5614 MB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.002958, allocations: 7.938 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.003005, allocations: 11.92 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.003227, allocations: 63.48 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003351, allocations: 71.77 kB / 0.5473 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003514, allocations: 172 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.003552, allocations: 5.969 kB / 0.5475 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.00369, allocations: 111.7 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.003873, allocations: 83.77 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.003897, allocations: 8 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.003917, allocations: 4 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.003961, allocations: 19.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.004003, allocations: 27.94 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004119, allocations: 83.67 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.004132, allocations: 4 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004133, allocations: 0 / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.004143, allocations: 0 / 0.5478 GB, free: 27.07 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.0004933/0.004637, allocations: 384.1 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.004666, allocations: 15.89 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.004699, allocations: 16.92 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.00483, allocations: 154.8 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004844, allocations: 4.375 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.004866, allocations: 12.38 kB / 0.5484 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004983, allocations: 85.02 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00499, allocations: 3.938 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004999, allocations: 4 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005002, allocations: 0 / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.005044, allocations: 19.98 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.005299, allocations: 197.8 kB / 0.5486 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.005407, allocations: 114.9 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.005436, allocations: 28.86 kB / 0.5488 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.005451, allocations: 0 / 0.5488 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.005557, allocations: 90.23 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.005558, allocations: 0 / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001328/0.005691, allocations: 85.59 kB / 0.549 GB, free: 25.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.005714, allocations: 55.41 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.005782, allocations: 150.6 kB / 0.5491 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.005794, allocations: 29.92 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.005824, allocations: 100.1 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.005847, allocations: 55.55 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.005894, allocations: 37.64 kB / 0.5494 GB, free: 25.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.005937, allocations: 330.8 kB / 0.5497 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.005976, allocations: 40.53 kB / 0.5497 GB, free: 24.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.006034, allocations: 161.2 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.006102, allocations: 84.16 kB / 0.5499 GB, free: 24.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006104, allocations: 0 / 0.5499 GB, free: 24.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001059/0.00621, allocations: 147.8 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.006245, allocations: 36.67 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006249, allocations: 0 / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.006258, allocations: 4.047 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.006373, allocations: 39.91 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006376, allocations: 3.984 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.006442, allocations: 11.38 kB / 0.5502 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.006451, allocations: 8 kB / 0.5502 GB, free: 24.37 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 5.393e-05/0.006505, allocations: 120.7 kB / 0.5503 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006518, allocations: 11.94 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.006635, allocations: 94.36 kB / 0.5504 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006638, allocations: 8 kB / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.006641, allocations: 3.984 kB / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006645, allocations: 0 / 0.5504 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.136e-05/0.006726, allocations: 101.8 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006728, allocations: 0 / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.006818, allocations: 23.98 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.006835, allocations: 7.953 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.006838, allocations: 3.938 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.006852, allocations: 8 kB / 0.5506 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006853, allocations: 0 / 0.5506 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006854, allocations: 0 / 0.5506 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.007011, allocations: 143.2 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.007035, allocations: 7.938 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.007089, allocations: 11.98 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.007128, allocations: 15.97 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.007135, allocations: 0 / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.007167, allocations: 38.52 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.007167, allocations: 0 / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001111/0.007278, allocations: 35.94 kB / 0.5508 GB, free: 23.69 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 7.828e-05/0.007356, allocations: 92.38 kB / 0.5509 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.007481, allocations: 149.9 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.007486, allocations: 0 / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.007536, allocations: 48.89 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.007693, allocations: 57.83 kB / 0.5511 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.01019, allocations: 342.2 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.572e-05/0.01021, allocations: 71.83 kB / 0.5515 GB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.01028, allocations: 17.48 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.01038, allocations: 91.34 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01038, allocations: 3.938 kB / 0.5516 GB, free: 22.76 MB / 410.7 MB Notification: Performance of Templates: time 0.004036/0.01442, allocations: 2.733 MB / 0.5543 GB, free: 20.09 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4529107250273228]