Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.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.001099/0.001099, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.001075/0.001075, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9899/0.9899, 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.7354/0.7354, allocations: 291.1 MB / 0.5382 GB, free: 51.91 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.Plutonium240.Plutonium240_Filipy1996_thyroid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.088e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid): time 0.002987/0.003018, allocations: 1.822 MB / 0.6991 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.003926, allocations: 0.5575 MB / 0.6996 GB, free: 8 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.003998, allocations: 0 / 0.6996 GB, free: 8 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.004103, allocations: 11.86 kB / 0.6997 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.004475, allocations: 63.48 kB / 0.6997 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.004653, allocations: 75.27 kB / 0.6998 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.004857, allocations: 163.3 kB / 0.6999 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.004915, allocations: 13.28 kB / 0.7 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.005046, allocations: 91.78 kB / 0.7 GB, free: 7.594 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.005283, allocations: 71.78 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.00531, allocations: 8 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.005332, allocations: 4 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.005395, allocations: 39.89 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.005459, allocations: 43.91 kB / 0.7002 GB, free: 7.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.005611, allocations: 99.61 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005613, allocations: 4 kB / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005614, allocations: 0 / 0.7003 GB, free: 7.328 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005618, allocations: 0 / 0.7003 GB, free: 7.328 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.0006737/0.006292, allocations: 387.5 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.006334, allocations: 11.89 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.006391, allocations: 20.84 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.00657, allocations: 154.1 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.006589, allocations: 4.375 kB / 0.7009 GB, free: 6.703 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.006618, allocations: 12.36 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.006854, allocations: 98.19 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.006864, allocations: 7.938 kB / 0.701 GB, free: 6.582 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.00688, allocations: 4 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006885, allocations: 0 / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.007099, allocations: 83.91 kB / 0.7011 GB, free: 6.496 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.007525, allocations: 280.3 kB / 0.7013 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.007837, allocations: 134.4 kB / 0.7014 GB, free: 6.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.007956, allocations: 52.81 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.007973, allocations: 0 / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.008205, allocations: 115.3 kB / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.008207, allocations: 4 kB / 0.7016 GB, free: 5.867 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004678/0.008675, allocations: 197.6 kB / 0.7018 GB, free: 5.668 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.008718, allocations: 55.62 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.008848, allocations: 153 kB / 0.702 GB, free: 5.445 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.008865, allocations: 37.64 kB / 0.702 GB, free: 5.402 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.008919, allocations: 100.1 kB / 0.7021 GB, free: 5.301 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.008953, allocations: 55.56 kB / 0.7022 GB, free: 5.246 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.009014, allocations: 33.7 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.009059, allocations: 326.8 kB / 0.7025 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.009205, allocations: 85.66 kB / 0.7026 GB, free: 4.789 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.009384, allocations: 203.3 kB / 0.7028 GB, free: 4.555 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.00962, allocations: 136.7 kB / 0.7029 GB, free: 4.414 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.009623, allocations: 7.938 kB / 0.7029 GB, free: 4.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003395/0.009962, allocations: 236.8 kB / 0.7032 GB, free: 4.156 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.009987, allocations: 44.05 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009992, allocations: 0 / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01001, allocations: 0 / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01015, allocations: 31.91 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01015, allocations: 4 kB / 0.7032 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01027, allocations: 19.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01028, allocations: 4 kB / 0.7033 GB, free: 4.051 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.329e-05/0.01036, allocations: 119 kB / 0.7034 GB, free: 3.926 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.01038, allocations: 19.89 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.01072, allocations: 181.2 kB / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01073, allocations: 0 / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01073, allocations: 0 / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01074, allocations: 3.984 kB / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.01085, allocations: 149.2 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01085, allocations: 3.938 kB / 0.7037 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01097, allocations: 23.98 kB / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01098, allocations: 0 / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01099, allocations: 15.98 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01099, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.011, allocations: 0 / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.01143, allocations: 244.9 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01145, allocations: 15.88 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01148, allocations: 11.98 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.01158, allocations: 11.98 kB / 0.704 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.01165, allocations: 19.97 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01166, allocations: 4.062 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.01173, allocations: 127 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01173, allocations: 0 / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002249/0.01195, allocations: 32 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.647e-05/0.01205, allocations: 105.9 kB / 0.7043 GB, free: 2.918 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01239, allocations: 212.9 kB / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01239, allocations: 0 / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01252, allocations: 71.83 kB / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01279, allocations: 43.83 kB / 0.7046 GB, free: 2.578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.01339, allocations: 331.2 kB / 0.7049 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.01344, allocations: 97.8 kB / 0.705 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.01351, allocations: 20.5 kB / 0.705 GB, free: 2.086 MB / 410.8 MB Notification: Performance of SimCode: time 9.31e-07/0.01351, allocations: 0 / 0.705 GB, free: 2.086 MB / 410.8 MB Notification: Performance of Templates: time 0.003036/0.01654, allocations: 2.061 MB / 0.7071 GB, free: 48 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium240.Plutonium240_Filipy1996_thyroid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.607569936662912]