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.0008646/0.0008646, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002024, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0009127/0.0009127, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002062, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.045/1.045, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09445/1.139, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.7475/0.7475, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03182/0.7793, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.865e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Iodine131.Iodine131): time 0.001783/0.001802, allocations: 1.947 MB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.002453, allocations: 0.573 MB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.002502, allocations: 0 / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.002548, allocations: 15.84 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.002762, allocations: 67.53 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.002892, allocations: 71.77 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.003049, allocations: 160 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.00309, allocations: 9.906 kB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.003242, allocations: 115.8 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.003437, allocations: 83.77 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.003462, allocations: 8 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.003482, allocations: 4 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.003524, allocations: 19.94 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.003566, allocations: 31.88 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003678, allocations: 79.73 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.003693, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003694, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.003706, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 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.0005397/0.004245, allocations: 384.2 kB / 0.5479 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.004275, allocations: 15.89 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.004316, allocations: 16.92 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004447, allocations: 157.8 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.004467, allocations: 8.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.004486, allocations: 4.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.004618, allocations: 77.02 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004626, allocations: 5.625 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004635, allocations: 8 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004641, allocations: 3.984 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.004684, allocations: 23.92 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.004924, allocations: 197.8 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.005032, allocations: 118 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.00506, allocations: 24.84 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.005074, allocations: 0 / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.005194, allocations: 98.17 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.005195, allocations: 4 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001435/0.005339, allocations: 81.88 kB / 0.5487 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.005366, allocations: 63.39 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.005429, allocations: 146.6 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005441, allocations: 33.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.005471, allocations: 96.06 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.005493, allocations: 43.67 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.005534, allocations: 41.64 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.005566, allocations: 322.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.0056, allocations: 44.52 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.005652, allocations: 162.1 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.053e-05/0.005712, allocations: 90.66 kB / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005714, allocations: 0 / 0.5497 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001007/0.005815, allocations: 147.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.005843, allocations: 33.69 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005847, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.005856, allocations: 0 / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.005969, allocations: 35.92 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005972, allocations: 3.312 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.006042, allocations: 23.92 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.006051, allocations: 4 kB / 0.55 GB, free: 24.68 MB / 410.7 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 4.862e-05/0.006099, allocations: 116.7 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.006121, allocations: 15.92 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.006238, allocations: 94.36 kB / 0.5502 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.006241, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006243, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.006247, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.702e-05/0.006324, allocations: 101.8 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.006326, allocations: 4 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.006406, allocations: 23.98 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.006421, allocations: 7.953 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.006423, allocations: 3.938 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.006436, allocations: 11.98 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006437, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006438, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.006572, allocations: 134.6 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.006591, allocations: 7.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.006642, allocations: 16.02 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.006681, allocations: 15.97 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.006688, allocations: 3.938 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.86e-05/0.006716, allocations: 42.52 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006716, allocations: 0 / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001179/0.006834, allocations: 28 kB / 0.5506 GB, free: 24 MB / 410.7 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 7.265e-05/0.006907, allocations: 88.34 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.007035, allocations: 141.9 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.007041, allocations: 4 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.007083, allocations: 37.53 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007238, allocations: 58.23 kB / 0.5509 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.009825, allocations: 379.9 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.009863, allocations: 97.81 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.009986, allocations: 99.27 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009987, allocations: 0 / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.002247/0.01223, allocations: 2.049 MB / 0.5535 GB, free: 21.02 MB / 410.7 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: 4.344661209732294]