Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.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.0009185/0.0009185, allocations: 92.42 kB / 19.94 MB, free: 4.605 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.0009289/0.0009289, allocations: 169.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.007/1.007, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7679/0.7679, allocations: 291.2 MB / 0.5382 GB, free: 51.91 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_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.456e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d): time 0.00206/0.002085, allocations: 1.817 MB / 0.6991 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.002888, allocations: 0.5497 MB / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.002953, allocations: 0 / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.00306, allocations: 15.84 kB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.003429, allocations: 71.48 kB / 0.6997 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003571, allocations: 62.78 kB / 0.6998 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.003765, allocations: 175.2 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.003817, allocations: 5.312 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003937, allocations: 95.78 kB / 0.7001 GB, free: 7.57 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.004162, allocations: 75.77 kB / 0.7001 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.004189, allocations: 8 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.004206, allocations: 8 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.004273, allocations: 31.89 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.00433, allocations: 35.92 kB / 0.7002 GB, free: 7.414 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004473, allocations: 107.6 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004475, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.452e-06/0.004476, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004481, allocations: 0 / 0.7003 GB, free: 7.309 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.000619/0.0051, allocations: 395.5 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.005145, allocations: 11.89 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.005198, allocations: 16.84 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.00537, allocations: 152.9 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005387, allocations: 8.375 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.005411, allocations: 4.375 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.005589, allocations: 106.2 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005599, allocations: 7.938 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.005611, allocations: 0 / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005617, allocations: 0 / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.005768, allocations: 79.86 kB / 0.7011 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.00614, allocations: 280.4 kB / 0.7013 GB, free: 6.176 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.006375, allocations: 134.4 kB / 0.7015 GB, free: 6.035 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.269e-05/0.006458, allocations: 60.81 kB / 0.7015 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.006474, allocations: 0 / 0.7015 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.006644, allocations: 111.3 kB / 0.7016 GB, free: 5.852 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.006645, allocations: 0 / 0.7016 GB, free: 5.852 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003445/0.006989, allocations: 193.7 kB / 0.7018 GB, free: 5.656 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.007018, allocations: 59.61 kB / 0.7019 GB, free: 5.586 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.007117, allocations: 155.6 kB / 0.702 GB, free: 5.426 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.007131, allocations: 37.64 kB / 0.7021 GB, free: 5.383 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.007186, allocations: 104.1 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.007211, allocations: 51.58 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.007255, allocations: 33.7 kB / 0.7022 GB, free: 5.188 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.007296, allocations: 326.8 kB / 0.7026 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.007401, allocations: 85.64 kB / 0.7026 GB, free: 4.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.00752, allocations: 204.4 kB / 0.7028 GB, free: 4.535 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.007683, allocations: 146.5 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.007688, allocations: 3.938 kB / 0.703 GB, free: 4.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002263/0.007914, allocations: 234.7 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.007938, allocations: 37.69 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007942, allocations: 0 / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007955, allocations: 0 / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.00805, allocations: 31.92 kB / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.008057, allocations: 4 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.008138, allocations: 19.92 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.008151, allocations: 8 kB / 0.7033 GB, free: 4.027 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 6.297e-05/0.008214, allocations: 130.5 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.008226, allocations: 11.91 kB / 0.7034 GB, free: 3.879 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.008457, allocations: 174 kB / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008459, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.008463, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.008468, allocations: 4 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.008554, allocations: 157.2 kB / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.008557, allocations: 7.938 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.00864, allocations: 19.98 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008642, allocations: 0 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.008653, allocations: 4 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008654, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008655, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.008953, allocations: 252.9 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.00897, allocations: 19.94 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.00899, allocations: 4 kB / 0.704 GB, free: 3.203 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.009045, allocations: 11.98 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.009108, allocations: 19.97 kB / 0.7041 GB, free: 3.172 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009116, allocations: 0 / 0.7041 GB, free: 3.172 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.009169, allocations: 129.7 kB / 0.7042 GB, free: 3.047 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009169, allocations: 0 / 0.7042 GB, free: 3.047 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001347/0.009303, allocations: 32 kB / 0.7042 GB, free: 3.016 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 8.53e-05/0.009389, allocations: 107.2 kB / 0.7043 GB, free: 2.898 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.00964, allocations: 209 kB / 0.7045 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009642, allocations: 0 / 0.7045 GB, free: 2.676 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.00973, allocations: 71.83 kB / 0.7046 GB, free: 2.605 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.009926, allocations: 43.89 kB / 0.7046 GB, free: 2.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.01041, allocations: 335.2 kB / 0.705 GB, free: 2.203 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01046, allocations: 97.8 kB / 0.7051 GB, free: 2.09 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.01052, allocations: 20.5 kB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of SimCode: time 7.11e-07/0.01052, allocations: 0 / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of Templates: time 0.002561/0.01308, allocations: 2.049 MB / 0.7071 GB, free: 36 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.533775929361582]