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_48_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.001401/0.001401, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.001609/0.001609, allocations: 165.8 kB / 23.21 MB, free: 1.34 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.012/1.012, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7501/0.7501, 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.Iodine131.Iodine131_Ravichandran2014_0_and_48_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.526e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h): time 0.002673/0.002698, allocations: 1.822 MB / 0.6991 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003713, allocations: 0.5458 MB / 0.6996 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.003793, allocations: 0 / 0.6996 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.003903, allocations: 15.8 kB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.004323, allocations: 63.55 kB / 0.6997 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.004533, allocations: 71.33 kB / 0.6998 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.004764, allocations: 175.2 kB / 0.6999 GB, free: 7.68 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.004818, allocations: 5.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.004983, allocations: 91.78 kB / 0.7 GB, free: 7.586 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.00524, allocations: 71.78 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.00527, allocations: 8 kB / 0.7001 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.005294, allocations: 8 kB / 0.7001 GB, free: 7.5 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.005362, allocations: 35.89 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.005431, allocations: 47.83 kB / 0.7002 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005593, allocations: 99.67 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005595, allocations: 0 / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005596, allocations: 0 / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005601, allocations: 0 / 0.7003 GB, free: 7.32 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.0007316/0.006332, allocations: 391.5 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.006377, allocations: 8.031 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.006444, allocations: 20.84 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.006642, allocations: 152.9 kB / 0.7008 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.006665, allocations: 8.375 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.006696, allocations: 12.36 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.006944, allocations: 98.19 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.006957, allocations: 3.938 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006972, allocations: 0 / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.006978, allocations: 4 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.007209, allocations: 83.91 kB / 0.701 GB, free: 6.492 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.007686, allocations: 288.3 kB / 0.7013 GB, free: 6.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.008018, allocations: 130.4 kB / 0.7014 GB, free: 6.043 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.008144, allocations: 53.03 kB / 0.7015 GB, free: 5.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.008161, allocations: 3.938 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.008386, allocations: 111.3 kB / 0.7016 GB, free: 5.863 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.008389, allocations: 4 kB / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005074/0.008896, allocations: 197.6 kB / 0.7018 GB, free: 5.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.008926, allocations: 55.41 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.00905, allocations: 159.6 kB / 0.702 GB, free: 5.43 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.009073, allocations: 25.7 kB / 0.702 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.009124, allocations: 108 kB / 0.7021 GB, free: 5.289 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.009153, allocations: 43.64 kB / 0.7022 GB, free: 5.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.009216, allocations: 37.7 kB / 0.7022 GB, free: 5.203 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.009265, allocations: 322.8 kB / 0.7025 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.009419, allocations: 89.66 kB / 0.7026 GB, free: 4.785 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.009599, allocations: 202.1 kB / 0.7028 GB, free: 4.551 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.009857, allocations: 144.5 kB / 0.7029 GB, free: 4.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.009861, allocations: 3.938 kB / 0.7029 GB, free: 4.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003708/0.01023, allocations: 243.2 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.01026, allocations: 33.7 kB / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01026, allocations: 0 / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01028, allocations: 0 / 0.7032 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01042, allocations: 35.91 kB / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01043, allocations: 0 / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01056, allocations: 19.92 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01058, allocations: 4 kB / 0.7033 GB, free: 4.047 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 8.308e-05/0.01066, allocations: 126.4 kB / 0.7034 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.01069, allocations: 15.89 kB / 0.7034 GB, free: 3.898 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.01104, allocations: 174.3 kB / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.01104, allocations: 4 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.01105, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01105, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.01118, allocations: 149.2 kB / 0.7037 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01118, allocations: 3.938 kB / 0.7037 GB, free: 3.543 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01132, allocations: 23.98 kB / 0.7037 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01132, allocations: 4 kB / 0.7037 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.01134, allocations: 7.984 kB / 0.7037 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01134, allocations: 0 / 0.7037 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01134, allocations: 3.938 kB / 0.7037 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.01183, allocations: 252.3 kB / 0.704 GB, free: 3.242 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.01185, allocations: 23.86 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.01188, allocations: 0 / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01198, allocations: 15.98 kB / 0.704 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.01205, allocations: 11.97 kB / 0.704 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01207, allocations: 12.06 kB / 0.704 GB, free: 3.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.804e-05/0.01214, allocations: 125.8 kB / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01214, allocations: 0 / 0.7042 GB, free: 3.059 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002301/0.01237, allocations: 28 kB / 0.7042 GB, free: 3.031 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 9.899e-05/0.01247, allocations: 99.25 kB / 0.7043 GB, free: 2.922 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.01286, allocations: 216.9 kB / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01286, allocations: 3.938 kB / 0.7045 GB, free: 2.688 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.013, allocations: 63.89 kB / 0.7046 GB, free: 2.625 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.01329, allocations: 51.92 kB / 0.7046 GB, free: 2.574 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.01397, allocations: 339.2 kB / 0.7049 GB, free: 2.211 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.998e-05/0.01403, allocations: 89.81 kB / 0.705 GB, free: 2.105 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.0141, allocations: 20.5 kB / 0.705 GB, free: 2.082 MB / 410.8 MB Notification: Performance of SimCode: time 6.51e-07/0.0141, allocations: 0 / 0.705 GB, free: 2.082 MB / 410.8 MB Notification: Performance of Templates: time 0.003789/0.01789, allocations: 2.048 MB / 0.707 GB, free: 56 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_48_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.618758761323988]