Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.001788/0.001788, 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.001951/0.001951, 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.798/1.798, allocations: 230.6 MB / 256 MB, free: 9.598 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.493/1.493, allocations: 316.7 MB / 0.6144 GB, free: 93.26 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.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_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.01139/0.01139, allocations: 69.42 kB / 0.775 GB, free: 14.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1911, allocations: 74 MB / 0.8472 GB, free: 5.07 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference): time 0.003279/0.1944, allocations: 1.811 MB / 0.849 GB, free: 3.262 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1956, allocations: 0.5493 MB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.1957, allocations: 0.625 kB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.749e-05/0.1958, allocations: 12.58 kB / 0.8495 GB, free: 2.699 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1961, allocations: 71.34 kB / 0.8496 GB, free: 2.633 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.1963, allocations: 62.25 kB / 0.8497 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1966, allocations: 167.3 kB / 0.8498 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1966, allocations: 5.969 kB / 0.8498 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1968, allocations: 68.38 kB / 0.8499 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.197, allocations: 87.69 kB / 0.85 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1971, allocations: 8.625 kB / 0.85 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.1971, allocations: 4.688 kB / 0.85 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.1972, allocations: 35.84 kB / 0.85 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.1973, allocations: 48.31 kB / 0.8501 GB, free: 2.16 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1974, allocations: 100.1 kB / 0.8502 GB, free: 2.062 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1974, allocations: 0 / 0.8502 GB, free: 2.062 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1974, allocations: 0.625 kB / 0.8502 GB, free: 2.062 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1974, allocations: 0 / 0.8502 GB, free: 2.062 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.0008835/0.1983, allocations: 389.2 kB / 0.8505 GB, free: 1.648 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1984, allocations: 16.52 kB / 0.8506 GB, free: 1.633 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.1984, allocations: 13.34 kB / 0.8506 GB, free: 1.621 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1987, allocations: 150.9 kB / 0.8507 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1987, allocations: 8.969 kB / 0.8507 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.1987, allocations: 12.75 kB / 0.8507 GB, free: 1.43 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.199, allocations: 98.2 kB / 0.8508 GB, free: 1.328 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.199, allocations: 7.875 kB / 0.8508 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.199, allocations: 5.906 kB / 0.8508 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.199, allocations: 0 / 0.8508 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1993, allocations: 79.92 kB / 0.8509 GB, free: 1.238 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.1999, allocations: 281.5 kB / 0.8512 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.2003, allocations: 139.3 kB / 0.8513 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2005, allocations: 50.91 kB / 0.8514 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2005, allocations: 4 kB / 0.8514 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.2008, allocations: 111.3 kB / 0.8515 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2008, allocations: 0 / 0.8515 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006092/0.2014, allocations: 210.5 kB / 0.8517 GB, free: 416 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.2015, allocations: 51.41 kB / 0.8517 GB, free: 352 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2017, allocations: 158.9 kB / 0.8519 GB, free: 188 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2017, allocations: 33.7 kB / 0.8519 GB, free: 148 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.2018, allocations: 100.1 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.2019, allocations: 47.7 kB / 0.8521 GB, free: 15.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.202, allocations: 44.31 kB / 0.8521 GB, free: 15.95 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.2021, allocations: 330.8 kB / 0.8524 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2023, allocations: 77.66 kB / 0.8525 GB, free: 15.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.2027, allocations: 208.4 kB / 0.8527 GB, free: 15.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.203, allocations: 139.2 kB / 0.8528 GB, free: 15.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.203, allocations: 0 / 0.8528 GB, free: 15.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005187/0.2035, allocations: 244.3 kB / 0.853 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.2036, allocations: 34.23 kB / 0.8531 GB, free: 14.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2036, allocations: 4.562 kB / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2036, allocations: 0.75 kB / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.2038, allocations: 23.98 kB / 0.8531 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2038, allocations: 0.5 kB / 0.8531 GB, free: 14.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.204, allocations: 32.7 kB / 0.8531 GB, free: 14.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.204, allocations: 4.438 kB / 0.8531 GB, free: 14.79 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.000127/0.2041, allocations: 127.5 kB / 0.8533 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2041, allocations: 12.48 kB / 0.8533 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.2046, allocations: 174.9 kB / 0.8534 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2046, allocations: 0.625 kB / 0.8534 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2046, allocations: 4.531 kB / 0.8534 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2046, allocations: 0 / 0.8534 GB, free: 14.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2048, allocations: 149.7 kB / 0.8536 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2048, allocations: 0.7188 kB / 0.8536 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.205, allocations: 23.98 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.205, allocations: 4.688 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.205, allocations: 4 kB / 0.8536 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.205, allocations: 4.625 kB / 0.8536 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.205, allocations: 0.5 kB / 0.8536 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.2057, allocations: 254 kB / 0.8539 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.2057, allocations: 16.55 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2057, allocations: 4 kB / 0.8539 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2059, allocations: 16.66 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.2059, allocations: 12.58 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2059, allocations: 7.984 kB / 0.8539 GB, free: 13.94 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001229/0.2061, allocations: 120 kB / 0.854 GB, free: 13.82 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2061, allocations: 0 / 0.854 GB, free: 13.82 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002211/0.2063, allocations: 32.62 kB / 0.8541 GB, free: 13.79 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.0001489/0.2064, allocations: 100.4 kB / 0.8542 GB, free: 13.68 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.2069, allocations: 217.7 kB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2069, allocations: 0.5 kB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.2071, allocations: 60.48 kB / 0.8544 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2075, allocations: 49.7 kB / 0.8545 GB, free: 13.35 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.2083, allocations: 329.8 kB / 0.8548 GB, free: 13.01 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.2084, allocations: 100.8 kB / 0.8549 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.47e-05/0.2085, allocations: 24.36 kB / 0.8549 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.2085, allocations: 19.38 kB / 0.8549 GB, free: 12.85 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.2085, allocations: 0 / 0.8549 GB, free: 12.85 MB / 490.8 MB Notification: Performance of Templates: time 0.262/0.4705, allocations: 2.624 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.615394205087796]