Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_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.002272/0.002272, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002136/0.002136, allocations: 220.1 kB / 22.25 MB, free: 3.559 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.681/1.681, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.376/1.376, allocations: 316.7 MB / 0.6144 GB, free: 93.14 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_Thomas2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003945/0.003945, allocations: 77.84 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2074, allocations: 73.99 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference): time 0.004322/0.2117, allocations: 1.828 MB / 0.849 GB, free: 3.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2132, allocations: 0.5377 MB / 0.8495 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2134, allocations: 0.75 kB / 0.8495 GB, free: 2.566 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2135, allocations: 15.86 kB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004833/0.214, allocations: 68.97 kB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2143, allocations: 62 kB / 0.8497 GB, free: 2.426 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.2147, allocations: 163.3 kB / 0.8498 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.2148, allocations: 6.094 kB / 0.8498 GB, free: 2.262 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.215, allocations: 71.72 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.2154, allocations: 88.25 kB / 0.85 GB, free: 2.105 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.2154, allocations: 8.688 kB / 0.85 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.2155, allocations: 8 kB / 0.85 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.2156, allocations: 32.5 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2157, allocations: 47.78 kB / 0.8501 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2159, allocations: 96.38 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2159, allocations: 0 / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2159, allocations: 0.625 kB / 0.8502 GB, free: 1.918 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2159, allocations: 0 / 0.8502 GB, free: 1.918 MB / 474.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.001186/0.2171, allocations: 397.3 kB / 0.8505 GB, free: 1.496 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.2172, allocations: 12.39 kB / 0.8505 GB, free: 1.484 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2173, allocations: 16.84 kB / 0.8506 GB, free: 1.469 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.2177, allocations: 147.5 kB / 0.8507 GB, free: 1.301 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2177, allocations: 4.875 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.2178, allocations: 12.12 kB / 0.8507 GB, free: 1.285 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.2181, allocations: 106.3 kB / 0.8508 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2181, allocations: 0.5938 kB / 0.8508 GB, free: 1.176 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2182, allocations: 8.547 kB / 0.8508 GB, free: 1.168 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2182, allocations: 0 / 0.8508 GB, free: 1.168 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.2185, allocations: 77.27 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.2191, allocations: 284.3 kB / 0.8512 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.2196, allocations: 139.4 kB / 0.8513 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.2197, allocations: 58.62 kB / 0.8514 GB, free: 0.582 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2198, allocations: 0 / 0.8514 GB, free: 0.582 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.2201, allocations: 115.2 kB / 0.8515 GB, free: 472 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2201, allocations: 0 / 0.8515 GB, free: 472 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006412/0.2207, allocations: 204 kB / 0.8517 GB, free: 264 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.2208, allocations: 55.41 kB / 0.8517 GB, free: 196 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2209, allocations: 157.5 kB / 0.8519 GB, free: 32 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.221, allocations: 29.75 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2211, allocations: 106 kB / 0.852 GB, free: 15.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.2212, allocations: 47.56 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.2213, allocations: 41.7 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2215, allocations: 326.8 kB / 0.8524 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2217, allocations: 82.94 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.222, allocations: 198.1 kB / 0.8527 GB, free: 15.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.2225, allocations: 145.3 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2225, allocations: 5.188 kB / 0.8528 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005206/0.2231, allocations: 237.4 kB / 0.853 GB, free: 14.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.2231, allocations: 33.7 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2231, allocations: 0.5938 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2231, allocations: 0.5 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.2233, allocations: 24.67 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2233, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.2235, allocations: 32.45 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2235, allocations: 8.531 kB / 0.8531 GB, free: 14.65 MB / 490.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 0.0001448/0.2237, allocations: 128 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2237, allocations: 12.52 kB / 0.8533 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2242, allocations: 171.5 kB / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2242, allocations: 0 / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2242, allocations: 0.5 kB / 0.8534 GB, free: 14.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2242, allocations: 8.859 kB / 0.8534 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2244, allocations: 149.2 kB / 0.8536 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2244, allocations: 4.562 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2246, allocations: 25.83 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2246, allocations: 0 / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2246, allocations: 7.938 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2246, allocations: 0 / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2246, allocations: 0 / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.2252, allocations: 257.4 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.2253, allocations: 15.86 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2253, allocations: 4 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2254, allocations: 16.88 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.2255, allocations: 15.98 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2255, allocations: 4.547 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001281/0.2257, allocations: 121.9 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2257, allocations: 0.9688 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002279/0.2259, allocations: 32 kB / 0.8541 GB, free: 13.64 MB / 490.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 0.0001443/0.226, allocations: 100.2 kB / 0.8542 GB, free: 13.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.2265, allocations: 219.5 kB / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2265, allocations: 0 / 0.8544 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.2267, allocations: 69.64 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2271, allocations: 41 kB / 0.8545 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.228, allocations: 322.7 kB / 0.8548 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2281, allocations: 103.4 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.2283, allocations: 24.48 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.2283, allocations: 15.44 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of SimCode: time 8.72e-07/0.2283, allocations: 4.562 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of Templates: time 0.3016/0.5299, allocations: 2.63 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1499755589757115]