Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.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.002169/0.002169, 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.697/1.697, allocations: 230.6 MB / 256 MB, free: 9.57 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.494/1.494, 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.NickelOxide.NickelOxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b") [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.004036/0.004036, allocations: 73.23 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1945, allocations: 73.98 MB / 0.8473 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b): time 0.004678/0.1991, allocations: 1.815 MB / 0.849 GB, free: 3.316 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2005, allocations: 0.5493 MB / 0.8496 GB, free: 2.766 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.2006, allocations: 4.594 kB / 0.8496 GB, free: 2.762 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.2007, allocations: 11.86 kB / 0.8496 GB, free: 2.75 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.2012, allocations: 65.06 kB / 0.8497 GB, free: 2.688 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2014, allocations: 65.78 kB / 0.8497 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2017, allocations: 168 kB / 0.8499 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.2017, allocations: 1.312 kB / 0.8499 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2019, allocations: 76.28 kB / 0.85 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.2022, allocations: 76.31 kB / 0.85 GB, free: 2.312 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.2022, allocations: 8 kB / 0.85 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.2023, allocations: 8.594 kB / 0.85 GB, free: 2.297 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.2023, allocations: 36.45 kB / 0.8501 GB, free: 2.262 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.2024, allocations: 51.78 kB / 0.8501 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.2026, allocations: 92.17 kB / 0.8502 GB, free: 2.121 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2026, allocations: 0.5938 kB / 0.8502 GB, free: 2.121 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2026, allocations: 0 / 0.8502 GB, free: 2.121 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2026, allocations: 4.656 kB / 0.8502 GB, free: 2.117 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.0009972/0.2036, allocations: 393 kB / 0.8506 GB, free: 1.699 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/0.2037, allocations: 11.89 kB / 0.8506 GB, free: 1.688 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.2038, allocations: 17.38 kB / 0.8506 GB, free: 1.672 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.2041, allocations: 155.4 kB / 0.8508 GB, free: 1.496 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2042, allocations: 8.375 kB / 0.8508 GB, free: 1.488 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.2042, allocations: 12.75 kB / 0.8508 GB, free: 1.477 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.2046, allocations: 102 kB / 0.8509 GB, free: 1.375 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2046, allocations: 4.531 kB / 0.8509 GB, free: 1.371 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.2046, allocations: 3.984 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2046, allocations: 0.5938 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.2049, allocations: 81.3 kB / 0.851 GB, free: 1.289 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.2056, allocations: 276.3 kB / 0.8512 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.2061, allocations: 136.6 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2063, allocations: 52.81 kB / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2063, allocations: 0 / 0.8514 GB, free: 0.793 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.2066, allocations: 116.8 kB / 0.8515 GB, free: 0.668 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2066, allocations: 0 / 0.8515 GB, free: 0.668 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006848/0.2073, allocations: 202.6 kB / 0.8517 GB, free: 476 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.2073, allocations: 57.97 kB / 0.8518 GB, free: 408 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2075, allocations: 150.5 kB / 0.8519 GB, free: 248 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2076, allocations: 33.7 kB / 0.852 GB, free: 208 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.2077, allocations: 104.1 kB / 0.8521 GB, free: 100 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2077, allocations: 51.62 kB / 0.8521 GB, free: 48 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.2078, allocations: 33.7 kB / 0.8521 GB, free: 8 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.208, allocations: 331.1 kB / 0.8525 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2082, allocations: 87.23 kB / 0.8525 GB, free: 15.58 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2086, allocations: 204.2 kB / 0.8527 GB, free: 15.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.2089, allocations: 146.1 kB / 0.8529 GB, free: 15.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2089, allocations: 0 / 0.8529 GB, free: 15.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004917/0.2094, allocations: 233.6 kB / 0.8531 GB, free: 14.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.2094, allocations: 42.78 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2094, allocations: 0 / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2095, allocations: 0.5938 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.2097, allocations: 23.98 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.2097, allocations: 8.484 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2098, allocations: 24.62 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2099, allocations: 9.438 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.0001376/0.21, allocations: 125.8 kB / 0.8533 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.21, allocations: 7.953 kB / 0.8533 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.2105, allocations: 175.2 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2105, allocations: 1.781 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2105, allocations: 3.938 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2105, allocations: 4 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2107, allocations: 145.1 kB / 0.8536 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2107, allocations: 5.219 kB / 0.8536 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2109, allocations: 27.97 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2109, allocations: 3.938 kB / 0.8537 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2109, allocations: 8.594 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2109, allocations: 0 / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2109, allocations: 0.9688 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.2115, allocations: 257.8 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.2115, allocations: 11.97 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.2116, allocations: 11.98 kB / 0.854 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2117, allocations: 7.984 kB / 0.854 GB, free: 14.01 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.2118, allocations: 20.72 kB / 0.854 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2118, allocations: 0 / 0.854 GB, free: 13.99 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2119, allocations: 123.6 kB / 0.8541 GB, free: 13.88 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.2119, allocations: 0 / 0.8541 GB, free: 13.88 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002202/0.2121, allocations: 32 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.0001627/0.2123, allocations: 108.5 kB / 0.8542 GB, free: 13.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.2128, allocations: 209 kB / 0.8544 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2128, allocations: 5.156 kB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.213, allocations: 63.83 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.0006794/0.2137, allocations: 37.88 kB / 0.8545 GB, free: 13.41 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.2145, allocations: 326.6 kB / 0.8548 GB, free: 13.06 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2146, allocations: 99.83 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.931e-05/0.2147, allocations: 23.94 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.2148, allocations: 20 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of SimCode: time 8.91e-07/0.2148, allocations: 0 / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of Templates: time 0.3046/0.5194, allocations: 2.627 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.612980568083003]