Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.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.005559/0.005559, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.002907/0.002907, allocations: 217.4 kB / 22.25 MB, free: 3.566 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.695/1.695, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] 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 1.564/1.564, allocations: 316.7 MB / 0.6144 GB, free: 93.02 MB / 410.7 MB " [Timeout remaining time 178] 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.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004253/0.004253, allocations: 69.48 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1896, allocations: 73.99 MB / 0.8473 GB, free: 4.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226): time 0.004663/0.1943, allocations: 1.832 MB / 0.8491 GB, free: 3.016 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1959, allocations: 0.5424 MB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.196, allocations: 0 / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1961, allocations: 16.55 kB / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.1965, allocations: 64.42 kB / 0.8497 GB, free: 2.395 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1968, allocations: 65.89 kB / 0.8497 GB, free: 2.332 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.1972, allocations: 164 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1972, allocations: 5.312 kB / 0.8499 GB, free: 2.168 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1974, allocations: 76.48 kB / 0.85 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.1977, allocations: 80.23 kB / 0.85 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1978, allocations: 11.94 kB / 0.8501 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.908e-05/0.1978, allocations: 8.719 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.1979, allocations: 31.89 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.198, allocations: 44.42 kB / 0.8501 GB, free: 1.922 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1982, allocations: 100.4 kB / 0.8502 GB, free: 1.824 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1982, allocations: 3.984 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1982, allocations: 0 / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1982, allocations: 0.625 kB / 0.8502 GB, free: 1.82 MB / 474.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.001114/0.1994, allocations: 393.3 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1994, allocations: 8.031 kB / 0.8506 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.1995, allocations: 17.34 kB / 0.8506 GB, free: 1.379 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.2, allocations: 151.5 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2, allocations: 8.375 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.2001, allocations: 8.688 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.2004, allocations: 106.2 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2005, allocations: 0.5938 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2005, allocations: 0 / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2005, allocations: 0.5938 kB / 0.8509 GB, free: 1.082 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.2009, allocations: 76.67 kB / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.2016, allocations: 289.5 kB / 0.8513 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.2022, allocations: 139.4 kB / 0.8514 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.2025, allocations: 60.81 kB / 0.8514 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2025, allocations: 1.656 kB / 0.8514 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.2029, allocations: 110.6 kB / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.2029, allocations: 0 / 0.8515 GB, free: 380 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0008645/0.2038, allocations: 204.9 kB / 0.8517 GB, free: 172 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.2038, allocations: 59.41 kB / 0.8518 GB, free: 100 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.2041, allocations: 153.5 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.2041, allocations: 29.7 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2042, allocations: 104.1 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.2043, allocations: 47.64 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2044, allocations: 39.5 kB / 0.8522 GB, free: 15.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.2047, allocations: 330.8 kB / 0.8525 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.205, allocations: 81.66 kB / 0.8526 GB, free: 15.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.2054, allocations: 194.1 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.2059, allocations: 146 kB / 0.8529 GB, free: 14.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2059, allocations: 4.688 kB / 0.8529 GB, free: 14.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007058/0.2066, allocations: 238 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.2066, allocations: 33.7 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2066, allocations: 0 / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2067, allocations: 0.5938 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.2069, allocations: 32.42 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.2069, allocations: 4.5 kB / 0.8532 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.2072, allocations: 24.36 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.2072, allocations: 8.594 kB / 0.8532 GB, free: 14.56 MB / 490.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 0.0001676/0.2074, allocations: 118.4 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.2074, allocations: 12.48 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.2081, allocations: 174.9 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2081, allocations: 0.625 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2081, allocations: 0.7812 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2081, allocations: 0 / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.2083, allocations: 161.6 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2083, allocations: 0.7188 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.2086, allocations: 23.98 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2086, allocations: 0.625 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.2086, allocations: 5.719 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2086, allocations: 0 / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2086, allocations: 0 / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.2095, allocations: 263.9 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2095, allocations: 21.86 kB / 0.854 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.2096, allocations: 8 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2098, allocations: 7.984 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.2099, allocations: 19.97 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2099, allocations: 0 / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001696/0.21, allocations: 126.9 kB / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.21, allocations: 0 / 0.8541 GB, free: 13.58 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003792/0.2104, allocations: 32 kB / 0.8541 GB, free: 13.55 MB / 490.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.000173/0.2106, allocations: 100.8 kB / 0.8542 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.2113, allocations: 219.7 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2113, allocations: 1.344 kB / 0.8544 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2116, allocations: 63.89 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.212, allocations: 42.22 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.213, allocations: 325.9 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2132, allocations: 99.34 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.2133, allocations: 24.27 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.2134, allocations: 20.16 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of SimCode: time 3.61e-07/0.2134, allocations: 0 / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of Templates: time 0.296/0.5094, allocations: 2.622 MB / 0.8576 GB, free: 28.1 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Radium226.Radium226.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.628135198028758]