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.001024/0.001024, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002464, allocations: 443.8 kB / 10.3 MB, free: 400 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.001124/0.001124, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002519, allocations: 463.6 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 1/1, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09049/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7849/0.7849, allocations: 291.1 MB / 0.5225 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02775/0.8126, allocations: 21.04 MB / 0.5431 GB, free: 31.82 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_Kirchner1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5444 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.022e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.44 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference): time 0.002504/0.002525, allocations: 1.943 MB / 0.5463 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.003367, allocations: 0.5689 MB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.003424, allocations: 3.938 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.003475, allocations: 11.91 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.003714, allocations: 67.55 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.00387, allocations: 59.83 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004073, allocations: 168 kB / 0.5472 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.004113, allocations: 9.906 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.004298, allocations: 119.6 kB / 0.5473 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.004494, allocations: 79.83 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.004522, allocations: 4 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.004548, allocations: 8 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.004602, allocations: 23.94 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.004654, allocations: 27.94 kB / 0.5474 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.004789, allocations: 79.61 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.004804, allocations: 4 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004806, allocations: 4 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.00482, allocations: 0 / 0.5475 GB, free: 27.25 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.0006398/0.00546, allocations: 388.1 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.005493, allocations: 12.03 kB / 0.5479 GB, free: 26.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.005548, allocations: 12.92 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.005723, allocations: 149.6 kB / 0.548 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.00575, allocations: 8.375 kB / 0.5481 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.005776, allocations: 4.375 kB / 0.5481 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.005948, allocations: 80.95 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005958, allocations: 3.938 kB / 0.5481 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.005971, allocations: 8 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005979, allocations: 0 / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.006042, allocations: 23.98 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.006407, allocations: 201.8 kB / 0.5484 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.006566, allocations: 118.9 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.00661, allocations: 20.78 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.006626, allocations: 4 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.006768, allocations: 86.25 kB / 0.5486 GB, free: 26.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.00677, allocations: 4 kB / 0.5486 GB, free: 26.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001907/0.00696, allocations: 89.64 kB / 0.5487 GB, free: 25.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.006991, allocations: 59.34 kB / 0.5487 GB, free: 25.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.007081, allocations: 146.6 kB / 0.5489 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.0071, allocations: 33.92 kB / 0.5489 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.007134, allocations: 96.06 kB / 0.549 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.007167, allocations: 43.61 kB / 0.549 GB, free: 25.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.007228, allocations: 45.64 kB / 0.5491 GB, free: 25.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.007264, allocations: 326.8 kB / 0.5494 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.007316, allocations: 48.52 kB / 0.5494 GB, free: 25.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.007386, allocations: 150.1 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.853e-05/0.007475, allocations: 91.28 kB / 0.5497 GB, free: 24.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007477, allocations: 0 / 0.5497 GB, free: 24.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001461/0.007624, allocations: 147.8 kB / 0.5498 GB, free: 24.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.007652, allocations: 37.69 kB / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007656, allocations: 0 / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.007665, allocations: 0 / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.007815, allocations: 27.98 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.00782, allocations: 7.047 kB / 0.5499 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.007932, allocations: 23.92 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.007945, allocations: 0 / 0.5499 GB, free: 24.57 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.024e-05/0.008006, allocations: 124.6 kB / 0.55 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.008029, allocations: 15.92 kB / 0.55 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.00818, allocations: 94.42 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008182, allocations: 0 / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.008185, allocations: 4 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.008189, allocations: 3.625 kB / 0.5501 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008299, allocations: 97.75 kB / 0.5502 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008301, allocations: 4 kB / 0.5502 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.008437, allocations: 27.92 kB / 0.5503 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.008459, allocations: 11.95 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.008462, allocations: 3.938 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.008481, allocations: 3.984 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.008484, allocations: 4 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.008485, allocations: 0 / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.008685, allocations: 130.7 kB / 0.5504 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.008711, allocations: 7.938 kB / 0.5504 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.008851, allocations: 12.02 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.0089, allocations: 15.97 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.00891, allocations: 4 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.008962, allocations: 47.92 kB / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008962, allocations: 0 / 0.5505 GB, free: 23.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.009163, allocations: 35.94 kB / 0.5505 GB, free: 23.88 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 8.002e-05/0.009243, allocations: 80.36 kB / 0.5506 GB, free: 23.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.009423, allocations: 153.3 kB / 0.5507 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.009427, allocations: 0 / 0.5507 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.009487, allocations: 40.83 kB / 0.5508 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.009699, allocations: 51.27 kB / 0.5508 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.01365, allocations: 391.9 kB / 0.5512 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.01368, allocations: 93.81 kB / 0.5513 GB, free: 23.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.01381, allocations: 91.34 kB / 0.5514 GB, free: 22.92 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01381, allocations: 0 / 0.5514 GB, free: 22.92 MB / 410.7 MB Notification: Performance of Templates: time 0.002354/0.01616, allocations: 2.041 MB / 0.5534 GB, free: 20.9 MB / 410.7 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Kirchner1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.234415911138058]