Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.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.001224/0.001224, allocations: 92.48 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.0009836/0.0009836, allocations: 165.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.069/1.069, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.726/0.726, 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.Plutonium239.Plutonium239_Harrison1980_241am,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.6973 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.669e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am): time 0.002057/0.002084, allocations: 1.818 MB / 0.6991 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.002852, allocations: 0.5536 MB / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.002911, allocations: 0 / 0.6997 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.003012, allocations: 15.8 kB / 0.6997 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.003348, allocations: 59.55 kB / 0.6997 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.003482, allocations: 79.39 kB / 0.6998 GB, free: 7.797 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.003662, allocations: 163.3 kB / 0.7 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.003718, allocations: 9.297 kB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003843, allocations: 91.78 kB / 0.7001 GB, free: 7.539 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.00409, allocations: 71.78 kB / 0.7001 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.004117, allocations: 8 kB / 0.7001 GB, free: 7.461 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.004137, allocations: 8 kB / 0.7001 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.004206, allocations: 31.89 kB / 0.7002 GB, free: 7.422 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.004267, allocations: 51.84 kB / 0.7002 GB, free: 7.371 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004418, allocations: 99.67 kB / 0.7003 GB, free: 7.273 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.00442, allocations: 0 / 0.7003 GB, free: 7.273 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004422, allocations: 0 / 0.7003 GB, free: 7.273 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.004428, allocations: 0 / 0.7003 GB, free: 7.273 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.0007152/0.005143, allocations: 393.6 kB / 0.7007 GB, free: 6.855 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.005195, allocations: 11.89 kB / 0.7007 GB, free: 6.844 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.005249, allocations: 16.84 kB / 0.7007 GB, free: 6.828 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.00543, allocations: 154.2 kB / 0.7009 GB, free: 6.652 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.005448, allocations: 4.375 kB / 0.7009 GB, free: 6.648 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.005477, allocations: 16.36 kB / 0.7009 GB, free: 6.633 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.005657, allocations: 94.19 kB / 0.701 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.005667, allocations: 7.922 kB / 0.701 GB, free: 6.527 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.005681, allocations: 4 kB / 0.701 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005686, allocations: 4 kB / 0.701 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.005833, allocations: 83.84 kB / 0.7011 GB, free: 6.438 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.006201, allocations: 280.4 kB / 0.7013 GB, free: 6.133 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.006432, allocations: 134.4 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.006513, allocations: 52.97 kB / 0.7015 GB, free: 5.938 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.006534, allocations: 7.938 kB / 0.7015 GB, free: 5.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.006719, allocations: 115.2 kB / 0.7016 GB, free: 5.805 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.00672, allocations: 0 / 0.7016 GB, free: 5.805 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003523/0.007072, allocations: 201.6 kB / 0.7018 GB, free: 5.602 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.007103, allocations: 55.41 kB / 0.7019 GB, free: 5.535 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.007204, allocations: 155.6 kB / 0.702 GB, free: 5.375 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.007218, allocations: 29.7 kB / 0.7021 GB, free: 5.34 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.007267, allocations: 104.1 kB / 0.7022 GB, free: 5.234 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.007292, allocations: 47.58 kB / 0.7022 GB, free: 5.188 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.007335, allocations: 33.7 kB / 0.7022 GB, free: 5.148 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.007385, allocations: 326.8 kB / 0.7025 GB, free: 4.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.007492, allocations: 89.59 kB / 0.7026 GB, free: 4.727 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.007614, allocations: 198.1 kB / 0.7028 GB, free: 4.496 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.007772, allocations: 141.5 kB / 0.703 GB, free: 4.352 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.007775, allocations: 3.938 kB / 0.703 GB, free: 4.348 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002358/0.008011, allocations: 244.8 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.008034, allocations: 33.7 kB / 0.7032 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008039, allocations: 4 kB / 0.7032 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.008056, allocations: 4 kB / 0.7032 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008158, allocations: 31.91 kB / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.008164, allocations: 0 / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.008242, allocations: 19.92 kB / 0.7033 GB, free: 3.992 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.008253, allocations: 4 kB / 0.7033 GB, free: 3.988 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 6.502e-05/0.008318, allocations: 123 kB / 0.7034 GB, free: 3.859 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.00833, allocations: 11.91 kB / 0.7034 GB, free: 3.848 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.008573, allocations: 178.3 kB / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008576, allocations: 4 kB / 0.7036 GB, free: 3.668 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.00858, allocations: 0 / 0.7036 GB, free: 3.668 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.008585, allocations: 3.984 kB / 0.7036 GB, free: 3.664 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.008678, allocations: 149.2 kB / 0.7037 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.008681, allocations: 3.938 kB / 0.7037 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.008766, allocations: 19.98 kB / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008768, allocations: 4 kB / 0.7038 GB, free: 3.461 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.00878, allocations: 7.984 kB / 0.7038 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008782, allocations: 7.938 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008783, allocations: 0 / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.009082, allocations: 252.7 kB / 0.704 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.0091, allocations: 15.84 kB / 0.704 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.009119, allocations: 7.984 kB / 0.704 GB, free: 3.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.009174, allocations: 11.98 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.00923, allocations: 11.98 kB / 0.7041 GB, free: 3.137 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.009239, allocations: 7.984 kB / 0.7041 GB, free: 3.129 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.009289, allocations: 129.4 kB / 0.7042 GB, free: 3.004 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009289, allocations: 0 / 0.7042 GB, free: 3.004 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001433/0.009432, allocations: 32 kB / 0.7042 GB, free: 2.973 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 8.515e-05/0.009517, allocations: 103.2 kB / 0.7043 GB, free: 2.859 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.009777, allocations: 213 kB / 0.7045 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009779, allocations: 0 / 0.7045 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.009871, allocations: 67.83 kB / 0.7046 GB, free: 2.566 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.01008, allocations: 50.23 kB / 0.7046 GB, free: 2.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.01061, allocations: 331.2 kB / 0.705 GB, free: 2.164 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01066, allocations: 93.84 kB / 0.705 GB, free: 2.055 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.01072, allocations: 28.48 kB / 0.7051 GB, free: 2.023 MB / 410.8 MB Notification: Performance of SimCode: time 1.132e-06/0.01072, allocations: 0 / 0.7051 GB, free: 2.023 MB / 410.8 MB Notification: Performance of Templates: time 0.002876/0.0136, allocations: 2.048 MB / 0.7071 GB, free: 15.99 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Harrison1980_241am.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.670878165401518]