Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.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.002412/0.002412, 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.002709/0.002709, allocations: 218.2 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.858/1.858, allocations: 230.6 MB / 256 MB, free: 9.617 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.426/1.426, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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_Ravichandran2014_0_and_24_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h") [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.004007/0.004007, allocations: 73.36 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2104, allocations: 73.99 MB / 0.8472 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h): time 0.003735/0.2142, allocations: 1.816 MB / 0.849 GB, free: 3.02 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2156, allocations: 0.5381 MB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.2157, allocations: 4 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2158, allocations: 12.55 kB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.2163, allocations: 65.08 kB / 0.8496 GB, free: 2.402 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2166, allocations: 65.86 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.2169, allocations: 163.3 kB / 0.8498 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.2169, allocations: 9.922 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.217, allocations: 71.77 kB / 0.8499 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.2173, allocations: 80.55 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.2174, allocations: 8 kB / 0.85 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.2174, allocations: 12.56 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.2175, allocations: 36.42 kB / 0.8501 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.2176, allocations: 43.8 kB / 0.8501 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2178, allocations: 104.2 kB / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2178, allocations: 0 / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2178, allocations: 0.625 kB / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2178, allocations: 4.5 kB / 0.8502 GB, free: 1.82 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.000998/0.2188, allocations: 389.3 kB / 0.8506 GB, free: 1.406 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2188, allocations: 8.031 kB / 0.8506 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.2189, allocations: 17.44 kB / 0.8506 GB, free: 1.383 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.2192, allocations: 150.8 kB / 0.8507 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2192, allocations: 8.969 kB / 0.8507 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.2192, allocations: 9.406 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.2195, allocations: 109.6 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2195, allocations: 0 / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2196, allocations: 1.094 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2196, allocations: 0 / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.2199, allocations: 77.58 kB / 0.8509 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.2205, allocations: 284.3 kB / 0.8512 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.2209, allocations: 139.2 kB / 0.8513 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.2211, allocations: 59.53 kB / 0.8514 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2211, allocations: 3.938 kB / 0.8514 GB, free: 0.4922 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.2214, allocations: 114.8 kB / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2214, allocations: 0 / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006713/0.2221, allocations: 203.4 kB / 0.8517 GB, free: 172 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.2222, allocations: 59.41 kB / 0.8518 GB, free: 100 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.2224, allocations: 153.5 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.2224, allocations: 30.98 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.2229, allocations: 100.1 kB / 0.852 GB, free: 15.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.223, allocations: 47.64 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.2231, allocations: 37.69 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.2232, allocations: 331.5 kB / 0.8524 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2235, allocations: 82.84 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.2238, allocations: 194.1 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.2242, allocations: 149.9 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2242, allocations: 0.625 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007932/0.225, allocations: 237.3 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.2251, allocations: 36.64 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2251, allocations: 0.5938 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.2251, allocations: 0 / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.2253, allocations: 28.52 kB / 0.8531 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2253, allocations: 4.625 kB / 0.8531 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2255, allocations: 24.48 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2255, allocations: 12.5 kB / 0.8532 GB, free: 14.56 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.0001447/0.2257, allocations: 122.8 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2257, allocations: 8.672 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.2262, allocations: 175 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2262, allocations: 1.719 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2262, allocations: 3.938 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2262, allocations: 3.938 kB / 0.8535 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2264, allocations: 157.2 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2264, allocations: 4 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.2266, allocations: 20.58 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2266, allocations: 2 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2266, allocations: 4 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2266, allocations: 3.938 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2266, allocations: 0 / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.2272, allocations: 257.8 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2273, allocations: 12.48 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.2273, allocations: 8 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2274, allocations: 16.94 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.2275, allocations: 15.98 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2275, allocations: 4.734 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2277, allocations: 121.9 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2277, allocations: 1.344 kB / 0.8541 GB, free: 13.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002242/0.2279, allocations: 32 kB / 0.8541 GB, free: 13.55 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.0001664/0.228, allocations: 103.8 kB / 0.8542 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005102/0.2286, allocations: 213.3 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2286, allocations: 4 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.2288, allocations: 64.48 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2291, allocations: 37.69 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008358/0.2299, allocations: 326.6 kB / 0.8548 GB, free: 12.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2301, allocations: 103.2 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.2302, allocations: 20.64 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.2302, allocations: 23.38 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.2302, allocations: 0.7188 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of Templates: time 0.3343/0.5645, allocations: 2.629 MB / 0.8575 GB, free: 28.13 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5907499780878425]