Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.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.002313/0.002313, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.005756/0.005756, allocations: 219.6 kB / 22.25 MB, free: 3.582 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.726/1.726, allocations: 230.6 MB / 256 MB, free: 9.621 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.417/1.417, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference") [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.004218/0.004218, allocations: 74.08 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.175, allocations: 73.99 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference): time 0.004556/0.1796, allocations: 1.816 MB / 0.849 GB, free: 3.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1812, allocations: 0.5456 MB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1814, allocations: 0.6562 kB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1815, allocations: 11.86 kB / 0.8495 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.182, allocations: 65.39 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1823, allocations: 69.42 kB / 0.8497 GB, free: 2.371 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1826, allocations: 167.3 kB / 0.8498 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1827, allocations: 5.938 kB / 0.8498 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1828, allocations: 72.39 kB / 0.8499 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1832, allocations: 79.7 kB / 0.85 GB, free: 2.055 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1832, allocations: 8.5 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.1832, allocations: 12.44 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.1833, allocations: 32.52 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1834, allocations: 47.78 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1836, allocations: 96.08 kB / 0.8502 GB, free: 1.863 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1836, allocations: 4.719 kB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1836, allocations: 0 / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1837, allocations: 0.5 kB / 0.8502 GB, free: 1.859 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.0009998/0.1847, allocations: 389.2 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1847, allocations: 8.031 kB / 0.8506 GB, free: 1.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.1848, allocations: 17.41 kB / 0.8506 GB, free: 1.422 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1851, allocations: 151.4 kB / 0.8507 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1851, allocations: 8.375 kB / 0.8507 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1851, allocations: 12.75 kB / 0.8507 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1854, allocations: 102.2 kB / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1855, allocations: 0.625 kB / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1855, allocations: 0 / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1855, allocations: 8.562 kB / 0.8508 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.1858, allocations: 81.14 kB / 0.8509 GB, free: 1.039 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.1864, allocations: 284.3 kB / 0.8512 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.1869, allocations: 135.5 kB / 0.8513 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.187, allocations: 58.41 kB / 0.8514 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1871, allocations: 0 / 0.8514 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.1874, allocations: 111.3 kB / 0.8515 GB, free: 420 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1874, allocations: 0.875 kB / 0.8515 GB, free: 420 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.000689/0.188, allocations: 204.1 kB / 0.8517 GB, free: 212 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1881, allocations: 55.41 kB / 0.8517 GB, free: 144 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.1886, allocations: 160.5 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1887, allocations: 25.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.1888, allocations: 108.1 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.1888, allocations: 49.39 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.1889, allocations: 33.7 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1891, allocations: 330.8 kB / 0.8524 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.1893, allocations: 81.66 kB / 0.8525 GB, free: 15.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.1896, allocations: 197.6 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.19, allocations: 147.1 kB / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.19, allocations: 1.125 kB / 0.8528 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005217/0.1906, allocations: 243.2 kB / 0.853 GB, free: 14.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.1906, allocations: 30.27 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1906, allocations: 0.625 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1906, allocations: 0 / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1908, allocations: 32.55 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1908, allocations: 8.578 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.191, allocations: 20.38 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.191, allocations: 8.594 kB / 0.8531 GB, free: 14.6 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.0001341/0.1912, allocations: 122.6 kB / 0.8533 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.1912, allocations: 11.98 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.1917, allocations: 183 kB / 0.8534 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1917, allocations: 4.656 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1917, allocations: 0 / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1917, allocations: 4.609 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1919, allocations: 157.8 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1919, allocations: 0 / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.1921, allocations: 20.52 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1921, allocations: 4.594 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1921, allocations: 0 / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1922, allocations: 4.672 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1922, allocations: 3.938 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.1928, allocations: 254.7 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1929, allocations: 11.92 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.1929, allocations: 12.7 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.193, allocations: 8.703 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.1931, allocations: 15.98 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1931, allocations: 8.609 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1933, allocations: 119.2 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1933, allocations: 0.5 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002372/0.1935, allocations: 28.59 kB / 0.8541 GB, free: 13.59 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.0001608/0.1937, allocations: 103.8 kB / 0.8542 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1942, allocations: 214 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1942, allocations: 0.625 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1944, allocations: 64.52 kB / 0.8544 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1948, allocations: 52.67 kB / 0.8545 GB, free: 13.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.1957, allocations: 323.2 kB / 0.8548 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.1958, allocations: 104.1 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1959, allocations: 23.11 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.196, allocations: 20.41 kB / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 6.31e-07/0.196, allocations: 0 / 0.8549 GB, free: 12.64 MB / 490.8 MB Notification: Performance of Templates: time 0.3254/0.5214, allocations: 2.622 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Sunderman1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.497876630863175]