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.0008985/0.0008985, allocations: 72.12 kB / 9.871 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002147, allocations: 443.9 kB / 10.3 MB, free: 396 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.0009039/0.0009039, allocations: 157.2 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001933, allocations: 467.5 kB / 11.64 MB, free: 2.527 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.9043/0.9043, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07948/0.9838, 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.7558/0.7558, allocations: 291.1 MB / 0.5225 GB, free: 52.8 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03123/0.7871, allocations: 21.05 MB / 0.5431 GB, free: 31.8 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.633e-06/1.633e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.005e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137): time 0.002896/0.002926, allocations: 1.954 MB / 0.5463 GB, free: 28.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.003855, allocations: 0.5731 MB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.003917, allocations: 0 / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.002e-05/0.003977, allocations: 15.84 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.004258, allocations: 63.48 kB / 0.547 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.004551, allocations: 67.84 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.004758, allocations: 168 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.0048, allocations: 9.906 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004949, allocations: 111.8 kB / 0.5473 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.00512, allocations: 75.77 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.005149, allocations: 15.94 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.005169, allocations: 4 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.005209, allocations: 23.94 kB / 0.5474 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.005251, allocations: 27.94 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.005367, allocations: 79.73 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.005384, allocations: 0 / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005385, allocations: 0 / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.005398, allocations: 0 / 0.5475 GB, free: 27.23 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.0005174/0.005916, allocations: 392.1 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.005942, allocations: 11.89 kB / 0.5479 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.005979, allocations: 16.92 kB / 0.5479 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.006105, allocations: 150.8 kB / 0.5481 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.006123, allocations: 4.375 kB / 0.5481 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.006144, allocations: 12.38 kB / 0.5481 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006258, allocations: 77.02 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006267, allocations: 3.938 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.006275, allocations: 4 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006281, allocations: 3.938 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.006323, allocations: 27.92 kB / 0.5482 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.006556, allocations: 201.8 kB / 0.5484 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.006662, allocations: 122 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.006689, allocations: 24.84 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.006702, allocations: 0 / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.006807, allocations: 90.19 kB / 0.5486 GB, free: 26.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.006808, allocations: 0 / 0.5486 GB, free: 26.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001371/0.006945, allocations: 81.66 kB / 0.5487 GB, free: 25.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.006967, allocations: 59.41 kB / 0.5488 GB, free: 25.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.00703, allocations: 150.6 kB / 0.5489 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.007042, allocations: 29.7 kB / 0.5489 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.00707, allocations: 96.06 kB / 0.549 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007094, allocations: 47.67 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.007135, allocations: 37.64 kB / 0.5491 GB, free: 25.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.077e-05/0.007165, allocations: 326.8 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.007199, allocations: 48.52 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.007248, allocations: 154.1 kB / 0.5496 GB, free: 24.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.007307, allocations: 90.81 kB / 0.5497 GB, free: 24.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007309, allocations: 0 / 0.5497 GB, free: 24.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.351e-05/0.007402, allocations: 151.2 kB / 0.5498 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.007424, allocations: 29.7 kB / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.007428, allocations: 0 / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.007436, allocations: 7.984 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.007534, allocations: 35.92 kB / 0.5499 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.007536, allocations: 0 / 0.5499 GB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.007603, allocations: 15.92 kB / 0.5499 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.007613, allocations: 8 kB / 0.5499 GB, free: 24.54 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 4.623e-05/0.007659, allocations: 120.9 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.007673, allocations: 15.92 kB / 0.5501 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.007766, allocations: 98.3 kB / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007768, allocations: 4 kB / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.00777, allocations: 0 / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.007773, allocations: 0 / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.774e-05/0.007841, allocations: 101.8 kB / 0.5503 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007842, allocations: 0 / 0.5503 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.007911, allocations: 23.98 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007925, allocations: 12 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007927, allocations: 7.922 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.007937, allocations: 7.984 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007938, allocations: 0 / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007939, allocations: 0 / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.008064, allocations: 147.2 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.008081, allocations: 7.938 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.008127, allocations: 11.98 kB / 0.5505 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.008163, allocations: 15.97 kB / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.008168, allocations: 0 / 0.5505 GB, free: 23.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.008193, allocations: 42.55 kB / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008193, allocations: 0 / 0.5505 GB, free: 23.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.008305, allocations: 35.98 kB / 0.5506 GB, free: 23.84 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 6.998e-05/0.008375, allocations: 83.42 kB / 0.5506 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.008492, allocations: 149.9 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008495, allocations: 0 / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.00853, allocations: 40.89 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.008667, allocations: 55.95 kB / 0.5509 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.01118, allocations: 383.9 kB / 0.5512 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.01122, allocations: 93.81 kB / 0.5513 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.01134, allocations: 87.34 kB / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01134, allocations: 0 / 0.5514 GB, free: 22.88 MB / 410.7 MB Notification: Performance of Templates: time 0.002038/0.01338, allocations: 2.042 MB / 0.5534 GB, free: 20.87 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.043673403561115]