Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.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.001846/0.001846, 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.002035/0.002035, allocations: 219.6 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 9.59 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.635/1.635, allocations: 316.7 MB / 0.6144 GB, free: 93.25 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.Iodine131.Iodine131,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") [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.003996/0.003996, allocations: 78.03 kB / 0.775 GB, free: 14.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1895, allocations: 73.99 MB / 0.8472 GB, free: 5.012 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131): time 0.005243/0.1948, allocations: 1.832 MB / 0.849 GB, free: 3.18 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1965, allocations: 0.5415 MB / 0.8496 GB, free: 2.637 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1965, allocations: 0.5938 kB / 0.8496 GB, free: 2.637 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1967, allocations: 12.48 kB / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1972, allocations: 68.91 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1975, allocations: 65.19 kB / 0.8497 GB, free: 2.5 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1979, allocations: 164 kB / 0.8498 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.198, allocations: 9.297 kB / 0.8499 GB, free: 2.332 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1981, allocations: 68.22 kB / 0.8499 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.1985, allocations: 92.28 kB / 0.85 GB, free: 2.176 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1986, allocations: 8.531 kB / 0.85 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.469e-05/0.1986, allocations: 8 kB / 0.85 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1987, allocations: 28.53 kB / 0.8501 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1988, allocations: 47.78 kB / 0.8501 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1991, allocations: 100.2 kB / 0.8502 GB, free: 1.988 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1991, allocations: 0.625 kB / 0.8502 GB, free: 1.988 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1991, allocations: 3.938 kB / 0.8502 GB, free: 1.984 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1991, allocations: 0.5938 kB / 0.8502 GB, free: 1.984 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.001278/0.2004, allocations: 393.2 kB / 0.8506 GB, free: 1.566 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.2004, allocations: 8.031 kB / 0.8506 GB, free: 1.559 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.2005, allocations: 17.47 kB / 0.8506 GB, free: 1.543 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.2008, allocations: 148.1 kB / 0.8507 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2008, allocations: 4.375 kB / 0.8507 GB, free: 1.371 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.2009, allocations: 16.12 kB / 0.8508 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.2012, allocations: 102.3 kB / 0.8509 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2012, allocations: 0 / 0.8509 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2012, allocations: 4.609 kB / 0.8509 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2012, allocations: 9.938 kB / 0.8509 GB, free: 1.238 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.2015, allocations: 75.92 kB / 0.8509 GB, free: 1.164 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.2021, allocations: 292.2 kB / 0.8512 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2026, allocations: 128.7 kB / 0.8513 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2027, allocations: 56.81 kB / 0.8514 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2028, allocations: 4 kB / 0.8514 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.2031, allocations: 108.2 kB / 0.8515 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2031, allocations: 0 / 0.8515 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006723/0.2037, allocations: 200.6 kB / 0.8517 GB, free: 344 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.2038, allocations: 55.41 kB / 0.8518 GB, free: 276 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.204, allocations: 161.3 kB / 0.8519 GB, free: 108 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.204, allocations: 25.7 kB / 0.8519 GB, free: 76 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2041, allocations: 112.1 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.2042, allocations: 44.34 kB / 0.8521 GB, free: 15.92 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.2043, allocations: 37.7 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2045, allocations: 327.9 kB / 0.8524 GB, free: 15.55 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2047, allocations: 81.66 kB / 0.8525 GB, free: 15.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.205, allocations: 202.6 kB / 0.8527 GB, free: 15.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.2053, allocations: 146 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2053, allocations: 0.5 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006521/0.206, allocations: 241.5 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.206, allocations: 30.2 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.206, allocations: 0.5938 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2061, allocations: 4 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.2062, allocations: 28.42 kB / 0.8531 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2063, allocations: 0.5312 kB / 0.8531 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2065, allocations: 32.58 kB / 0.8532 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2065, allocations: 4.719 kB / 0.8532 GB, free: 14.72 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.000132/0.2066, allocations: 130.5 kB / 0.8533 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2066, allocations: 7.953 kB / 0.8533 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.2071, allocations: 183.1 kB / 0.8535 GB, free: 14.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2071, allocations: 4.594 kB / 0.8535 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2071, allocations: 0 / 0.8535 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2071, allocations: 4.672 kB / 0.8535 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2073, allocations: 149.2 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2073, allocations: 0.5312 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.2075, allocations: 24.77 kB / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2075, allocations: 0 / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2075, allocations: 0.5312 kB / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2075, allocations: 0.6875 kB / 0.8536 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.2075, allocations: 3.984 kB / 0.8537 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.2082, allocations: 258.1 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.2082, allocations: 12.55 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.2082, allocations: 4.484 kB / 0.8539 GB, free: 13.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2084, allocations: 16.58 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.2084, allocations: 11.98 kB / 0.8539 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2084, allocations: 8.547 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2086, allocations: 119.9 kB / 0.8541 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 0.8541 GB, free: 13.75 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002202/0.2088, allocations: 32.5 kB / 0.8541 GB, free: 13.72 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.0001441/0.2089, allocations: 96.34 kB / 0.8542 GB, free: 13.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.2094, allocations: 216.8 kB / 0.8544 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2094, allocations: 0 / 0.8544 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2096, allocations: 68.48 kB / 0.8545 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.21, allocations: 43.03 kB / 0.8545 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.2108, allocations: 325.6 kB / 0.8548 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2109, allocations: 103.8 kB / 0.8549 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000102/0.211, allocations: 25.14 kB / 0.8549 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.2111, allocations: 19.38 kB / 0.855 GB, free: 12.78 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.2111, allocations: 0 / 0.855 GB, free: 12.78 MB / 490.8 MB Notification: Performance of Templates: time 0.3323/0.5434, allocations: 2.617 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.611664213007316]