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.001139/0.001139, 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.001153/0.001153, 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.089/1.089, 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.7306/0.7306, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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,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: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.577e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131): time 0.002404/0.00244, allocations: 1.83 MB / 0.6992 GB, free: 8.484 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.003296, allocations: 0.5499 MB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.003369, allocations: 0 / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.0035, allocations: 15.8 kB / 0.6997 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.003927, allocations: 67.53 kB / 0.6998 GB, free: 7.848 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004084, allocations: 67.66 kB / 0.6998 GB, free: 7.785 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004283, allocations: 171.3 kB / 0.7 GB, free: 7.617 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.51e-05/0.004348, allocations: 9.297 kB / 0.7 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.004488, allocations: 87.8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.004746, allocations: 79.75 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.004777, allocations: 8 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.004801, allocations: 8 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.004871, allocations: 35.84 kB / 0.7002 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.004932, allocations: 39.91 kB / 0.7003 GB, free: 7.355 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005096, allocations: 107.7 kB / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.005101, allocations: 0 / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.003e-06/0.005103, allocations: 0 / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.005109, allocations: 0 / 0.7004 GB, free: 7.25 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.0007751/0.005884, allocations: 387.5 kB / 0.7007 GB, free: 6.836 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.005942, allocations: 11.97 kB / 0.7007 GB, free: 6.824 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.006014, allocations: 20.84 kB / 0.7008 GB, free: 6.805 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.00624, allocations: 142.2 kB / 0.7009 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.006267, allocations: 8.375 kB / 0.7009 GB, free: 6.633 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.0063, allocations: 4.375 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.006536, allocations: 106.2 kB / 0.701 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.00656, allocations: 3.938 kB / 0.701 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.006578, allocations: 0 / 0.701 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.006585, allocations: 0 / 0.701 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.006759, allocations: 87.86 kB / 0.7011 GB, free: 6.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.007293, allocations: 284.4 kB / 0.7014 GB, free: 6.121 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.007582, allocations: 146.2 kB / 0.7015 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.007679, allocations: 52.81 kB / 0.7016 GB, free: 5.914 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.007703, allocations: 0 / 0.7016 GB, free: 5.914 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.007951, allocations: 111.3 kB / 0.7017 GB, free: 5.793 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/0.007954, allocations: 4 kB / 0.7017 GB, free: 5.789 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004527/0.008407, allocations: 197.6 kB / 0.7019 GB, free: 5.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.008459, allocations: 59.41 kB / 0.7019 GB, free: 5.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.0086, allocations: 153 kB / 0.7021 GB, free: 5.363 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.008619, allocations: 29.7 kB / 0.7021 GB, free: 5.328 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.008681, allocations: 104.1 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.008714, allocations: 47.64 kB / 0.7022 GB, free: 5.176 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.008769, allocations: 33.7 kB / 0.7023 GB, free: 5.137 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.008839, allocations: 326.8 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.008973, allocations: 89.59 kB / 0.7027 GB, free: 4.715 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.009092, allocations: 194.1 kB / 0.7028 GB, free: 4.488 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.009259, allocations: 145.5 kB / 0.703 GB, free: 4.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.009263, allocations: 3.938 kB / 0.703 GB, free: 4.336 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002477/0.009511, allocations: 240.8 kB / 0.7032 GB, free: 4.082 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.009543, allocations: 37.7 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.009549, allocations: 0 / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.009567, allocations: 0 / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.009678, allocations: 31.92 kB / 0.7033 GB, free: 4.008 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.009686, allocations: 7.984 kB / 0.7033 GB, free: 4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.00977, allocations: 19.91 kB / 0.7033 GB, free: 3.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.009783, allocations: 8 kB / 0.7033 GB, free: 3.973 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 7.267e-05/0.009855, allocations: 122.4 kB / 0.7034 GB, free: 3.844 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.00987, allocations: 11.91 kB / 0.7034 GB, free: 3.832 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.01014, allocations: 174.3 kB / 0.7036 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01014, allocations: 0 / 0.7036 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01015, allocations: 0 / 0.7036 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01015, allocations: 3.984 kB / 0.7036 GB, free: 3.656 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.01025, allocations: 153.2 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01026, allocations: 8.156 kB / 0.7038 GB, free: 3.469 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.01036, allocations: 19.98 kB / 0.7038 GB, free: 3.449 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01036, allocations: 3.938 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01037, allocations: 8.047 kB / 0.7038 GB, free: 3.438 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01038, allocations: 0 / 0.7038 GB, free: 3.438 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01038, allocations: 7.969 kB / 0.7038 GB, free: 3.43 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.01071, allocations: 252.6 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01073, allocations: 19.81 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01075, allocations: 11.98 kB / 0.7041 GB, free: 3.137 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.01081, allocations: 7.984 kB / 0.7041 GB, free: 3.129 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.01088, allocations: 15.98 kB / 0.7041 GB, free: 3.113 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01089, allocations: 8.047 kB / 0.7041 GB, free: 3.105 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.01094, allocations: 123.1 kB / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01094, allocations: 0 / 0.7042 GB, free: 2.984 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001429/0.01108, allocations: 32 kB / 0.7043 GB, free: 2.953 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 0.0001163/0.0112, allocations: 97.38 kB / 0.7044 GB, free: 2.848 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.01147, allocations: 219.3 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01147, allocations: 0 / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.01156, allocations: 67.89 kB / 0.7046 GB, free: 2.551 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01178, allocations: 46.48 kB / 0.7047 GB, free: 2.508 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.01233, allocations: 335.2 kB / 0.705 GB, free: 2.148 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.01238, allocations: 93.8 kB / 0.7051 GB, free: 2.039 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.01244, allocations: 24.5 kB / 0.7051 GB, free: 2.012 MB / 410.8 MB Notification: Performance of SimCode: time 8.71e-07/0.01244, allocations: 0 / 0.7051 GB, free: 2.012 MB / 410.8 MB Notification: Performance of Templates: time 0.002882/0.01532, allocations: 2.046 MB / 0.7071 GB, free: 15.97 MB / 426.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.679956963285804]