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.00102/0.00102, allocations: 92.52 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001113/0.001113, allocations: 169.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.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.7/0.7, allocations: 291.1 MB / 0.5382 GB, free: 51.84 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_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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.202e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference): time 0.001761/0.001783, allocations: 1.825 MB / 0.6991 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005527/0.002336, allocations: 0.5497 MB / 0.6996 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.002374, allocations: 4 kB / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 5.685e-05/0.002431, allocations: 11.86 kB / 0.6997 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.002639, allocations: 67.48 kB / 0.6997 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.002739, allocations: 71.64 kB / 0.6998 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002859, allocations: 167.3 kB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.987e-05/0.002889, allocations: 1.312 kB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.00297, allocations: 91.78 kB / 0.7 GB, free: 7.605 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.003114, allocations: 83.77 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.003131, allocations: 8 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.003146, allocations: 4 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.003187, allocations: 43.83 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.003231, allocations: 43.84 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.037e-05/0.003321, allocations: 95.67 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003323, allocations: 4 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003324, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003328, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.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.000391/0.003719, allocations: 391.5 kB / 0.7007 GB, free: 6.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.441e-05/0.003743, allocations: 11.89 kB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.003774, allocations: 20.84 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.003875, allocations: 146.2 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003885, allocations: 4.375 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.003903, allocations: 8.375 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.004032, allocations: 98.17 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.004038, allocations: 11.88 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004047, allocations: 8 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.00405, allocations: 0 / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.004189, allocations: 75.92 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.004446, allocations: 276.4 kB / 0.7013 GB, free: 6.203 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.004637, allocations: 138.4 kB / 0.7015 GB, free: 6.059 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.004711, allocations: 56.75 kB / 0.7015 GB, free: 6 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.004722, allocations: 4 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.00485, allocations: 115.3 kB / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.004851, allocations: 0 / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0002751/0.005126, allocations: 197.9 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.466e-05/0.005141, allocations: 51.41 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.005218, allocations: 163.4 kB / 0.702 GB, free: 5.441 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005229, allocations: 33.7 kB / 0.702 GB, free: 5.402 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.005259, allocations: 100.1 kB / 0.7021 GB, free: 5.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.005278, allocations: 47.58 kB / 0.7022 GB, free: 5.254 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.005316, allocations: 41.7 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.896e-05/0.005345, allocations: 326.8 kB / 0.7025 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.005432, allocations: 81.66 kB / 0.7026 GB, free: 4.793 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.005538, allocations: 200 kB / 0.7028 GB, free: 4.562 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.005684, allocations: 140.8 kB / 0.7029 GB, free: 4.418 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005685, allocations: 7.938 kB / 0.7029 GB, free: 4.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002004/0.005886, allocations: 244.8 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.005903, allocations: 33.7 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005906, allocations: 0 / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.005914, allocations: 4 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.005994, allocations: 23.98 kB / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.005997, allocations: 0 / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.006072, allocations: 23.92 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.00608, allocations: 11.98 kB / 0.7033 GB, free: 4.051 MB / 410.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 7.82e-05/0.006159, allocations: 121.7 kB / 0.7034 GB, free: 3.922 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.006176, allocations: 15.91 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.006429, allocations: 174.2 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006431, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.006434, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006437, allocations: 0 / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.685e-05/0.006514, allocations: 153.2 kB / 0.7037 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.006517, allocations: 7.938 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.006601, allocations: 23.98 kB / 0.7037 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.006604, allocations: 0 / 0.7037 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.006613, allocations: 11.94 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006614, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006615, allocations: 0 / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.006891, allocations: 249 kB / 0.704 GB, free: 3.254 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.006907, allocations: 15.88 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.006924, allocations: 12.06 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.006979, allocations: 7.984 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.007019, allocations: 19.97 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.007025, allocations: 3.938 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.007074, allocations: 125.3 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.007074, allocations: 0 / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001294/0.007204, allocations: 35.98 kB / 0.7042 GB, free: 3.039 MB / 410.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 5.854e-05/0.007262, allocations: 107.2 kB / 0.7043 GB, free: 2.922 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.007474, allocations: 213 kB / 0.7045 GB, free: 2.695 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007476, allocations: 0 / 0.7045 GB, free: 2.695 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.007559, allocations: 63.83 kB / 0.7046 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.007726, allocations: 54.17 kB / 0.7046 GB, free: 2.582 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.008116, allocations: 335.2 kB / 0.7049 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.008155, allocations: 97.8 kB / 0.705 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.008197, allocations: 16.5 kB / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of SimCode: time 3.71e-07/0.008197, allocations: 4 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of Templates: time 0.001915/0.01011, allocations: 2.055 MB / 0.7071 GB, free: 52 kB / 410.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Thomas2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.369091355241835]