Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.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.001764/0.001764, 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.001876/0.001876, 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.038/1.038, 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.7411/0.7411, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.363e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c): time 0.001617/0.001631, allocations: 1.814 MB / 0.6991 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005803/0.002211, allocations: 0.5536 MB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.002258, allocations: 0 / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.002337, allocations: 15.84 kB / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.002596, allocations: 67.48 kB / 0.6998 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.002706, allocations: 67.28 kB / 0.6998 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.002845, allocations: 171.2 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.002879, allocations: 5.312 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.00297, allocations: 91.78 kB / 0.7001 GB, free: 7.574 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.003131, allocations: 71.78 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.00315, allocations: 12 kB / 0.7002 GB, free: 7.492 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003165, allocations: 8 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.00321, allocations: 35.88 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.003253, allocations: 43.91 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003358, allocations: 99.62 kB / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003359, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00336, allocations: 0 / 0.7003 GB, free: 7.309 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003364, 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.0004579/0.003822, allocations: 391.5 kB / 0.7007 GB, free: 6.891 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.003851, allocations: 12.02 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.003885, allocations: 16.84 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.004002, allocations: 154.1 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004013, allocations: 4.375 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.004034, allocations: 16.36 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.004177, allocations: 94.17 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004184, allocations: 3.938 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004195, allocations: 4 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.004199, allocations: 4 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.004347, allocations: 83.86 kB / 0.7011 GB, free: 6.477 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.004623, allocations: 280.4 kB / 0.7014 GB, free: 6.172 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.004825, allocations: 138.4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.004902, allocations: 48.83 kB / 0.7015 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.004914, allocations: 0 / 0.7015 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.005055, allocations: 123.2 kB / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 8.41e-07/0.005056, allocations: 0 / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003097/0.005366, allocations: 197.7 kB / 0.7018 GB, free: 5.645 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.005385, allocations: 55.41 kB / 0.7019 GB, free: 5.578 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.005465, allocations: 161.2 kB / 0.702 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005476, allocations: 29.7 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.005509, allocations: 100 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.00553, allocations: 51.64 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.005569, allocations: 33.7 kB / 0.7023 GB, free: 5.188 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.812e-05/0.005597, allocations: 326.8 kB / 0.7026 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.005689, allocations: 85.64 kB / 0.7026 GB, free: 4.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.0058, allocations: 204.2 kB / 0.7028 GB, free: 4.535 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.005952, allocations: 138.5 kB / 0.703 GB, free: 4.391 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005954, allocations: 3.938 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002105/0.006164, allocations: 247 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.006181, allocations: 37.69 kB / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.006185, allocations: 0 / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.006194, allocations: 0 / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.006285, allocations: 31.92 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.006288, allocations: 0 / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.006365, allocations: 19.92 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.006375, allocations: 4 kB / 0.7033 GB, free: 4.031 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 4.712e-05/0.006422, allocations: 130.4 kB / 0.7034 GB, free: 3.895 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.006433, allocations: 11.91 kB / 0.7034 GB, free: 3.883 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.006641, allocations: 178.2 kB / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006643, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.006645, allocations: 4 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006648, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.955e-05/0.006718, allocations: 149.2 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006719, allocations: 3.938 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.006795, allocations: 27.97 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006797, allocations: 4 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.006807, allocations: 4 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006807, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006808, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.007082, allocations: 248.9 kB / 0.704 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.007096, allocations: 15.88 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.007114, allocations: 8 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.007172, allocations: 12.05 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.007214, allocations: 19.97 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.007221, allocations: 7.938 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.007264, allocations: 123.1 kB / 0.7042 GB, free: 3.047 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007265, allocations: 3.938 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001295/0.007394, allocations: 28 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 5.411e-05/0.007448, allocations: 107.3 kB / 0.7043 GB, free: 2.898 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.007669, allocations: 217 kB / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-06/0.00767, allocations: 0 / 0.7045 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.007754, allocations: 59.89 kB / 0.7046 GB, free: 2.609 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.007925, allocations: 47.88 kB / 0.7047 GB, free: 2.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.00832, allocations: 339.2 kB / 0.705 GB, free: 2.199 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.008355, allocations: 89.81 kB / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.008401, allocations: 28.48 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.008401, allocations: 0 / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of Templates: time 0.002126/0.01053, allocations: 2.052 MB / 0.7071 GB, free: 36 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.332374976016581]