Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.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.001994/0.001994, 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.002081/0.002081, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.788/1.788, allocations: 230.6 MB / 256 MB, free: 9.578 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.443/1.443, allocations: 316.7 MB / 0.6144 GB, free: 93.3 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.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate") [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.003841/0.003841, allocations: 73.2 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.177, allocations: 73.98 MB / 0.8472 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate): time 0.004032/0.1811, allocations: 1.823 MB / 0.849 GB, free: 3.152 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1824, allocations: 0.5496 MB / 0.8496 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.1825, allocations: 0.5312 kB / 0.8496 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1826, allocations: 11.86 kB / 0.8496 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.183, allocations: 69.25 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1832, allocations: 65.72 kB / 0.8497 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1835, allocations: 163.3 kB / 0.8499 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.1835, allocations: 13.95 kB / 0.8499 GB, free: 2.293 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1837, allocations: 63.78 kB / 0.8499 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.184, allocations: 88.38 kB / 0.85 GB, free: 2.145 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.184, allocations: 12.66 kB / 0.85 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.371e-05/0.184, allocations: 8 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.1841, allocations: 28.53 kB / 0.8501 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.1842, allocations: 47.78 kB / 0.8501 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1844, allocations: 92.42 kB / 0.8502 GB, free: 1.961 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.1844, allocations: 7.984 kB / 0.8502 GB, free: 1.953 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1844, allocations: 0.5312 kB / 0.8502 GB, free: 1.953 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1844, allocations: 0.625 kB / 0.8502 GB, free: 1.953 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.000981/0.1854, allocations: 393.1 kB / 0.8506 GB, free: 1.535 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1854, allocations: 8.031 kB / 0.8506 GB, free: 1.527 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.1855, allocations: 17.47 kB / 0.8506 GB, free: 1.512 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1858, allocations: 147.6 kB / 0.8507 GB, free: 1.344 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1858, allocations: 12.38 kB / 0.8508 GB, free: 1.332 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.1859, allocations: 16.62 kB / 0.8508 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1862, allocations: 102.4 kB / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1862, allocations: 0 / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1862, allocations: 0.6875 kB / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1862, allocations: 0 / 0.8509 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.1865, allocations: 81.14 kB / 0.851 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.1871, allocations: 288.9 kB / 0.8512 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.1876, allocations: 127 kB / 0.8513 GB, free: 0.6875 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1877, allocations: 61.94 kB / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1877, allocations: 0 / 0.8514 GB, free: 0.625 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.1881, allocations: 108.7 kB / 0.8515 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1881, allocations: 0 / 0.8515 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006231/0.1887, allocations: 202.8 kB / 0.8517 GB, free: 312 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1887, allocations: 56.06 kB / 0.8518 GB, free: 244 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1889, allocations: 162.4 kB / 0.8519 GB, free: 72 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.189, allocations: 26.27 kB / 0.8519 GB, free: 40 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1891, allocations: 104.7 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1891, allocations: 47.62 kB / 0.8521 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.1892, allocations: 42.28 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1894, allocations: 327.3 kB / 0.8524 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1896, allocations: 82.25 kB / 0.8525 GB, free: 15.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1899, allocations: 200.8 kB / 0.8527 GB, free: 15.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1903, allocations: 147.7 kB / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1903, allocations: 0 / 0.8528 GB, free: 15.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005044/0.1908, allocations: 240.4 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.1908, allocations: 34.33 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1908, allocations: 0 / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1909, allocations: 0.625 kB / 0.8531 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.191, allocations: 28.64 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.191, allocations: 4 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1912, allocations: 33.02 kB / 0.8532 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1912, allocations: 4 kB / 0.8532 GB, free: 14.69 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.0001362/0.1914, allocations: 126.4 kB / 0.8533 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1914, allocations: 8.547 kB / 0.8533 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.1919, allocations: 175.7 kB / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1919, allocations: 0 / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1919, allocations: 4.656 kB / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1919, allocations: 0 / 0.8535 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.1921, allocations: 157.7 kB / 0.8536 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1921, allocations: 0.625 kB / 0.8536 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1923, allocations: 19.98 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1923, allocations: 0.5 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1923, allocations: 4.719 kB / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1923, allocations: 0 / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1923, allocations: 0.5 kB / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.1929, allocations: 261.4 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.1929, allocations: 12.52 kB / 0.8539 GB, free: 13.88 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.193, allocations: 8.625 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1931, allocations: 12.59 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.1932, allocations: 15.98 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1932, allocations: 4.625 kB / 0.854 GB, free: 13.84 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1933, allocations: 121.9 kB / 0.8541 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1933, allocations: 4.594 kB / 0.8541 GB, free: 13.72 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002207/0.1935, allocations: 28.69 kB / 0.8541 GB, free: 13.69 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.0001693/0.1937, allocations: 103.9 kB / 0.8542 GB, free: 13.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.1942, allocations: 213.6 kB / 0.8544 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1942, allocations: 0.625 kB / 0.8544 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1944, allocations: 68.58 kB / 0.8545 GB, free: 13.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1947, allocations: 49.78 kB / 0.8545 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.1956, allocations: 327.1 kB / 0.8548 GB, free: 12.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1957, allocations: 102.8 kB / 0.8549 GB, free: 12.78 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1958, allocations: 20.36 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.1959, allocations: 16.06 kB / 0.855 GB, free: 12.75 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.1959, allocations: 0 / 0.855 GB, free: 12.75 MB / 490.8 MB Notification: Performance of Templates: time 0.3545/0.5504, allocations: 2.626 MB / 0.8575 GB, free: 28.11 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.595796149922535]