Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_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.0007713/0.0007713, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001909, 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.0007591/0.0007591, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002102, 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.025/1.025, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09258/1.118, allocations: 53.67 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.8032/0.8032, allocations: 291.1 MB / 0.5225 GB, free: 52.76 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02989/0.8331, allocations: 21.04 MB / 0.5431 GB, free: 31.79 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_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.227e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference): time 0.002761/0.002783, allocations: 1.958 MB / 0.5463 GB, free: 28.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.003719, allocations: 0.5767 MB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.003782, allocations: 3.938 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.481e-05/0.003837, allocations: 7.922 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.004128, allocations: 63.48 kB / 0.547 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.004324, allocations: 63.89 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.004549, allocations: 168 kB / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.004597, allocations: 13.89 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.004788, allocations: 119.6 kB / 0.5473 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.005016, allocations: 71.84 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.005047, allocations: 8 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.005073, allocations: 4 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.005125, allocations: 23.92 kB / 0.5474 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.005182, allocations: 27.94 kB / 0.5474 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.00533, allocations: 87.61 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-05/0.005347, allocations: 4 kB / 0.5475 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005348, allocations: 0 / 0.5475 GB, free: 27.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.005363, allocations: 0 / 0.5475 GB, free: 27.22 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.0006621/0.006025, allocations: 384.1 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.006061, allocations: 12.03 kB / 0.5479 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.006112, allocations: 12.94 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.006284, allocations: 154.9 kB / 0.5481 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.006318, allocations: 8.375 kB / 0.5481 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.006344, allocations: 8.359 kB / 0.5481 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.00651, allocations: 72.97 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.00652, allocations: 7.938 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.006531, allocations: 4 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006537, allocations: 0 / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.341e-05/0.006601, allocations: 23.97 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.006922, allocations: 197.8 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.007071, allocations: 122.9 kB / 0.5485 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.00711, allocations: 24.8 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.007126, allocations: 0 / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.007274, allocations: 90.23 kB / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.007276, allocations: 0 / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001975/0.007473, allocations: 81.66 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.007509, allocations: 63.34 kB / 0.5487 GB, free: 25.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.00761, allocations: 146.6 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.00763, allocations: 33.92 kB / 0.5489 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.007676, allocations: 96.08 kB / 0.549 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.007712, allocations: 43.61 kB / 0.549 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.00778, allocations: 45.64 kB / 0.5491 GB, free: 25.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.007832, allocations: 326.8 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.00789, allocations: 44.52 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.007975, allocations: 158.1 kB / 0.5496 GB, free: 24.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.008076, allocations: 83.31 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.008079, allocations: 0 / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001708/0.00825, allocations: 151.8 kB / 0.5498 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.008293, allocations: 33.7 kB / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008299, allocations: 4 kB / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.008312, allocations: 0 / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.00848, allocations: 31.98 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.008483, allocations: 0 / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.008594, allocations: 19.92 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.00861, allocations: 7.125 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 7.766e-05/0.008687, allocations: 120.6 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.008715, allocations: 14.92 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.008884, allocations: 102.4 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.008888, allocations: 4 kB / 0.5501 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.008891, allocations: 0 / 0.5501 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008895, allocations: 0 / 0.5501 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.009023, allocations: 101.8 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.009025, allocations: 0 / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.009165, allocations: 27.92 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.009191, allocations: 7.953 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.009197, allocations: 3.938 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.009217, allocations: 4 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.00922, allocations: 4 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009222, allocations: 4 kB / 0.5503 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.009454, allocations: 135.3 kB / 0.5504 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.009486, allocations: 11.97 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.009575, allocations: 7.984 kB / 0.5504 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.009632, allocations: 19.97 kB / 0.5504 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.009643, allocations: 0 / 0.5504 GB, free: 23.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.009695, allocations: 46.5 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009695, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.009913, allocations: 31.94 kB / 0.5505 GB, free: 23.86 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 0.0001082/0.01002, allocations: 88.39 kB / 0.5506 GB, free: 23.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.0102, allocations: 157.8 kB / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.01021, allocations: 0 / 0.5508 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.01027, allocations: 32.84 kB / 0.5508 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01049, allocations: 47.28 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.01474, allocations: 391.9 kB / 0.5512 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.552e-05/0.0148, allocations: 93.8 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.01497, allocations: 91.34 kB / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01497, allocations: 0 / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of Templates: time 0.003218/0.01819, allocations: 2.048 MB / 0.5534 GB, free: 20.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.284877758473158]