Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.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.002936/0.002936, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003121/0.003121, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.74/1.74, allocations: 230.6 MB / 256 MB, free: 9.59 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.431/1.431, allocations: 316.8 MB / 0.6144 GB, free: 93.42 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.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3") [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.01111/0.01111, allocations: 77.52 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.2057, allocations: 73.99 MB / 0.8473 GB, free: 5.121 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3): time 0.00448/0.2102, allocations: 1.819 MB / 0.8491 GB, free: 3.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2118, allocations: 0.5492 MB / 0.8496 GB, free: 2.754 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.2118, allocations: 2.094 kB / 0.8496 GB, free: 2.754 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.212, allocations: 15.86 kB / 0.8496 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.2124, allocations: 63.36 kB / 0.8497 GB, free: 2.68 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2126, allocations: 66.77 kB / 0.8497 GB, free: 2.617 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.213, allocations: 163.3 kB / 0.8499 GB, free: 2.457 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.213, allocations: 9.25 kB / 0.8499 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2132, allocations: 71.75 kB / 0.85 GB, free: 2.379 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2135, allocations: 78.34 kB / 0.85 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.2135, allocations: 11.94 kB / 0.8501 GB, free: 2.293 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.2136, allocations: 8 kB / 0.8501 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.2137, allocations: 31.89 kB / 0.8501 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2138, allocations: 51.78 kB / 0.8501 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.214, allocations: 95.58 kB / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.214, allocations: 0.7812 kB / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.214, allocations: 0 / 0.8502 GB, free: 2.109 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.214, allocations: 0.75 kB / 0.8502 GB, free: 2.109 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.001101/0.2151, allocations: 388.7 kB / 0.8506 GB, free: 1.695 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2151, allocations: 8.781 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.2152, allocations: 16.84 kB / 0.8506 GB, free: 1.672 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.2155, allocations: 159.3 kB / 0.8508 GB, free: 1.492 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.2156, allocations: 12.97 kB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.2156, allocations: 16.06 kB / 0.8508 GB, free: 1.465 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.216, allocations: 98.25 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.216, allocations: 0.625 kB / 0.8509 GB, free: 1.363 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.216, allocations: 3.984 kB / 0.8509 GB, free: 1.359 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.216, allocations: 4.594 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.2164, allocations: 81.2 kB / 0.851 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.2172, allocations: 280.3 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.2178, allocations: 127.7 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.218, allocations: 53.41 kB / 0.8514 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.218, allocations: 0.6562 kB / 0.8514 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.2184, allocations: 116.1 kB / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2184, allocations: 0.5 kB / 0.8515 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000852/0.2193, allocations: 202.3 kB / 0.8517 GB, free: 472 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.2193, allocations: 63.98 kB / 0.8518 GB, free: 396 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.2196, allocations: 161.3 kB / 0.8519 GB, free: 228 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.2196, allocations: 30.27 kB / 0.852 GB, free: 192 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2197, allocations: 100.7 kB / 0.8521 GB, free: 88 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.2198, allocations: 47.64 kB / 0.8521 GB, free: 40 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2199, allocations: 34.2 kB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.2202, allocations: 331.3 kB / 0.8525 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.2205, allocations: 86.23 kB / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.2209, allocations: 197 kB / 0.8527 GB, free: 15.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.2214, allocations: 150.4 kB / 0.8529 GB, free: 15.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2214, allocations: 0 / 0.8529 GB, free: 15.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009703/0.2223, allocations: 238.8 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.2224, allocations: 33.69 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2224, allocations: 0 / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2224, allocations: 0 / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.2227, allocations: 39.08 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2227, allocations: 0 / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.2229, allocations: 23.81 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2229, allocations: 8 kB / 0.8532 GB, free: 14.84 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.000168/0.2231, allocations: 125.8 kB / 0.8533 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.2231, allocations: 9.078 kB / 0.8533 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.2238, allocations: 174.3 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2238, allocations: 6.062 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2238, allocations: 0 / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2238, allocations: 3.938 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.2241, allocations: 153.2 kB / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2241, allocations: 0 / 0.8537 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.2243, allocations: 24.56 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2243, allocations: 5.812 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2243, allocations: 4 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2243, allocations: 0 / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2243, allocations: 3.984 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.2252, allocations: 254.1 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2253, allocations: 11.97 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.2253, allocations: 16.58 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2255, allocations: 8.547 kB / 0.854 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.2256, allocations: 19.97 kB / 0.854 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2256, allocations: 4.688 kB / 0.854 GB, free: 13.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001667/0.2258, allocations: 119.2 kB / 0.8541 GB, free: 13.86 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2258, allocations: 0.6562 kB / 0.8541 GB, free: 13.86 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003734/0.2261, allocations: 28.56 kB / 0.8541 GB, free: 13.84 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.0001821/0.2263, allocations: 107.9 kB / 0.8542 GB, free: 13.72 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.227, allocations: 214.2 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.227, allocations: 0.625 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.2273, allocations: 60.48 kB / 0.8545 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2277, allocations: 41.75 kB / 0.8545 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2288, allocations: 326.6 kB / 0.8549 GB, free: 13.05 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.2289, allocations: 95.2 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000154/0.2291, allocations: 28.38 kB / 0.855 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.2291, allocations: 20.16 kB / 0.855 GB, free: 12.9 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.2291, allocations: 0 / 0.855 GB, free: 12.9 MB / 490.8 MB Notification: Performance of Templates: time 0.2901/0.5192, allocations: 2.632 MB / 0.8576 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.UraniumTrioxide.UraniumTrioxide_Eidson1994_human_case_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.630830003181472]