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.0009933/0.0009933, 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.0008909/0.0008909, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.031/1.031, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.7385/0.7385, allocations: 291.2 MB / 0.5382 GB, free: 51.76 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_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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.803e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h): time 0.00174/0.001758, allocations: 1.814 MB / 0.6991 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.002396, allocations: 0.5457 MB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.002445, allocations: 0 / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.157e-05/0.002537, allocations: 23.84 kB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.002834, allocations: 71.47 kB / 0.6998 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.002945, allocations: 63.72 kB / 0.6998 GB, free: 7.844 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.003093, allocations: 163.3 kB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.003133, allocations: 9.312 kB / 0.7 GB, free: 7.676 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.003229, allocations: 95.72 kB / 0.7001 GB, free: 7.582 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.003412, allocations: 83.75 kB / 0.7002 GB, free: 7.5 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.003434, allocations: 4 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.00345, allocations: 8 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.003504, allocations: 31.89 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.00355, allocations: 39.86 kB / 0.7002 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.003661, allocations: 103.7 kB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003663, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003664, allocations: 0 / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003667, allocations: 4 kB / 0.7003 GB, free: 7.312 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.0005143/0.004182, allocations: 391.5 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004216, allocations: 12.03 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.004256, allocations: 12.84 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.004385, allocations: 150.1 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.0044, allocations: 8.375 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.004422, allocations: 4.375 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.00458, allocations: 106.2 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004588, allocations: 3.938 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.004599, allocations: 4 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.004603, allocations: 0 / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.004744, allocations: 83.92 kB / 0.7011 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.005058, allocations: 280.4 kB / 0.7013 GB, free: 6.184 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.00527, allocations: 146.3 kB / 0.7015 GB, free: 6.031 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.005346, allocations: 48.77 kB / 0.7015 GB, free: 5.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.005362, allocations: 7.984 kB / 0.7015 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.005526, allocations: 107.3 kB / 0.7016 GB, free: 5.855 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.005527, allocations: 224 / 0.7016 GB, free: 5.855 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003204/0.005848, allocations: 197.6 kB / 0.7018 GB, free: 5.656 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.005871, allocations: 63.33 kB / 0.7019 GB, free: 5.582 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.005952, allocations: 159.6 kB / 0.702 GB, free: 5.418 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.005964, allocations: 33.7 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.006006, allocations: 100 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.006028, allocations: 47.62 kB / 0.7022 GB, free: 5.23 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.006069, allocations: 37.7 kB / 0.7023 GB, free: 5.188 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.006104, allocations: 326.8 kB / 0.7026 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.006196, allocations: 81.64 kB / 0.7026 GB, free: 4.773 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.006304, allocations: 198.1 kB / 0.7028 GB, free: 4.543 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.006458, allocations: 145.5 kB / 0.703 GB, free: 4.395 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.006461, allocations: 7.875 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002111/0.006672, allocations: 236.8 kB / 0.7032 GB, free: 4.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.006692, allocations: 37.69 kB / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006696, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006707, allocations: 0 / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.006798, allocations: 27.98 kB / 0.7033 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006803, allocations: 4 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.006878, allocations: 19.92 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.006887, allocations: 4 kB / 0.7033 GB, free: 4.039 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 5.428e-05/0.006941, allocations: 130.9 kB / 0.7034 GB, free: 3.902 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.006954, allocations: 15.91 kB / 0.7034 GB, free: 3.887 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.007163, allocations: 166.4 kB / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007165, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007168, allocations: 0 / 0.7036 GB, free: 3.723 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007171, allocations: 4 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.007246, allocations: 153.2 kB / 0.7037 GB, free: 3.539 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007248, allocations: 3.938 kB / 0.7037 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.007328, allocations: 27.92 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00733, allocations: 4.031 kB / 0.7038 GB, free: 3.504 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.007339, allocations: 4 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007341, allocations: 4 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007341, allocations: 0 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.007622, allocations: 251.7 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.007637, allocations: 15.88 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.007655, allocations: 4 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.007708, allocations: 11.98 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.007756, allocations: 23.84 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.007763, allocations: 8 kB / 0.7041 GB, free: 3.172 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.266e-05/0.007806, allocations: 125.3 kB / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007806, allocations: 0 / 0.7042 GB, free: 3.051 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001272/0.007933, allocations: 32 kB / 0.7042 GB, free: 3.02 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 6.967e-05/0.008003, allocations: 107.3 kB / 0.7043 GB, free: 2.902 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.008227, allocations: 211.3 kB / 0.7045 GB, free: 2.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008229, allocations: 3.938 kB / 0.7045 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.008311, allocations: 63.89 kB / 0.7046 GB, free: 2.613 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.008494, allocations: 47.89 kB / 0.7046 GB, free: 2.566 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.008919, allocations: 331.2 kB / 0.705 GB, free: 2.211 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.008959, allocations: 97.81 kB / 0.7051 GB, free: 2.098 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.009005, allocations: 28.42 kB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of SimCode: time 7.31e-07/0.009005, allocations: 0 / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of Templates: time 0.00225/0.01125, allocations: 2.047 MB / 0.7071 GB, free: 40 kB / 410.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131_Ravichandran2014_0_and_24_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5465707797557116]