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.0009243/0.0009243, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009026/0.0009026, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 0.742/0.742, allocations: 291.2 MB / 0.5382 GB, free: 51.88 MB / 410.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.859e-05, allocations: 5.094 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b): time 0.002035/0.002064, allocations: 1.825 MB / 0.6991 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.002779, allocations: 0.5419 MB / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.002837, allocations: 0 / 0.6997 GB, free: 8.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.627e-05/0.002933, allocations: 15.86 kB / 0.6997 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.003269, allocations: 71.47 kB / 0.6997 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.003401, allocations: 67.77 kB / 0.6998 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003572, allocations: 167.3 kB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.003617, allocations: 9.297 kB / 0.7 GB, free: 7.688 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003721, allocations: 91.78 kB / 0.7001 GB, free: 7.598 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.003922, allocations: 75.77 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.003944, allocations: 8 kB / 0.7001 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.003962, allocations: 8 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.004017, allocations: 27.91 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.004069, allocations: 43.89 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.004189, allocations: 103.6 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004191, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.542e-06/0.004193, allocations: 0 / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004196, allocations: 4 kB / 0.7003 GB, free: 7.332 MB / 410.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.0005484/0.004745, allocations: 391.5 kB / 0.7007 GB, free: 6.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.004782, allocations: 11.89 kB / 0.7007 GB, free: 6.902 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.00483, allocations: 24.77 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.004975, allocations: 142.2 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.00499, allocations: 8.375 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.005015, allocations: 8.375 kB / 0.7009 GB, free: 6.699 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.005176, allocations: 102.2 kB / 0.701 GB, free: 6.594 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005185, allocations: 3.938 kB / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.005196, allocations: 0 / 0.701 GB, free: 6.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005201, allocations: 4 kB / 0.701 GB, free: 6.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.005349, allocations: 83.84 kB / 0.7011 GB, free: 6.504 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.00568, allocations: 288.4 kB / 0.7013 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.005894, allocations: 134.4 kB / 0.7015 GB, free: 6.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.005973, allocations: 52.81 kB / 0.7015 GB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.005987, allocations: 4 kB / 0.7015 GB, free: 5.992 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.006148, allocations: 111.3 kB / 0.7016 GB, free: 5.871 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.006149, allocations: 3.938 kB / 0.7016 GB, free: 5.867 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003302/0.00648, allocations: 197.1 kB / 0.7018 GB, free: 5.672 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.006503, allocations: 59.41 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.006588, allocations: 159.8 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.0066, allocations: 25.7 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.006643, allocations: 112 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.006666, allocations: 43.62 kB / 0.7022 GB, free: 5.25 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.006707, allocations: 37.7 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.006742, allocations: 322.8 kB / 0.7025 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.00684, allocations: 81.66 kB / 0.7026 GB, free: 4.797 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.006952, allocations: 208.4 kB / 0.7028 GB, free: 4.559 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.007104, allocations: 142.5 kB / 0.703 GB, free: 4.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007106, allocations: 3.938 kB / 0.703 GB, free: 4.406 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002263/0.007332, allocations: 243.2 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.007353, allocations: 29.7 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007357, allocations: 0 / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.007371, allocations: 4 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.007466, allocations: 35.91 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.007472, allocations: 4 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.007549, allocations: 19.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.007559, allocations: 4 kB / 0.7033 GB, free: 4.051 MB / 410.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 5.582e-05/0.007615, allocations: 126.4 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.007627, allocations: 11.91 kB / 0.7034 GB, free: 3.906 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.007845, allocations: 170.3 kB / 0.7036 GB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007848, allocations: 4 kB / 0.7036 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007852, allocations: 4 kB / 0.7036 GB, free: 3.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007856, allocations: 3.984 kB / 0.7036 GB, free: 3.727 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.033e-05/0.007936, allocations: 149.2 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007938, allocations: 3.938 kB / 0.7037 GB, free: 3.547 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.008017, allocations: 19.98 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008019, allocations: 4 kB / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.008029, allocations: 0 / 0.7038 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008031, allocations: 3.984 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008032, allocations: 0 / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.008325, allocations: 256.9 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.008343, allocations: 15.84 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.008362, allocations: 3.984 kB / 0.704 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.008415, allocations: 15.98 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.008469, allocations: 12.02 kB / 0.7041 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.008478, allocations: 11.98 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.008525, allocations: 129.7 kB / 0.7042 GB, free: 3.066 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.008525, allocations: 3.938 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001332/0.008658, allocations: 32 kB / 0.7042 GB, free: 3.031 MB / 410.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 7.892e-05/0.008737, allocations: 99.31 kB / 0.7043 GB, free: 2.922 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.008985, allocations: 216.9 kB / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008986, allocations: 0 / 0.7045 GB, free: 2.691 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.00907, allocations: 59.89 kB / 0.7046 GB, free: 2.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.009262, allocations: 51.89 kB / 0.7046 GB, free: 2.582 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.009733, allocations: 338.9 kB / 0.705 GB, free: 2.223 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.009776, allocations: 97.8 kB / 0.7051 GB, free: 2.109 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.009823, allocations: 20.5 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of SimCode: time 4.31e-07/0.009823, allocations: 0 / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of Templates: time 0.002414/0.01224, allocations: 2.049 MB / 0.7071 GB, free: 56 kB / 410.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4975570384413]