Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_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.0019/0.0019, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002006/0.002006, allocations: 173.9 kB / 22.45 MB, free: 2.105 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.586/1.586, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.442/1.442, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.781e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d): time 0.002564/0.002592, allocations: 1.812 MB / 0.7017 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003596, allocations: 0.5497 MB / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.003654, allocations: 3.938 kB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003762, allocations: 11.86 kB / 0.7022 GB, free: 6.16 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.004109, allocations: 71.53 kB / 0.7023 GB, free: 6.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.004273, allocations: 67.64 kB / 0.7023 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004457, allocations: 171.3 kB / 0.7025 GB, free: 5.859 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.004505, allocations: 5.312 kB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.004631, allocations: 91.78 kB / 0.7026 GB, free: 5.766 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.004868, allocations: 75.77 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.004896, allocations: 15.94 kB / 0.7027 GB, free: 5.676 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.294e-05/0.004919, allocations: 8 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.004981, allocations: 31.84 kB / 0.7027 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.005042, allocations: 43.89 kB / 0.7028 GB, free: 5.594 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.005178, allocations: 103.7 kB / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00518, allocations: 0 / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005181, allocations: 0 / 0.7029 GB, free: 5.492 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005185, allocations: 0 / 0.7029 GB, free: 5.492 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.0007093/0.005894, allocations: 399.4 kB / 0.7033 GB, free: 5.066 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.005927, allocations: 8.031 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.005979, allocations: 16.84 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006144, allocations: 142.2 kB / 0.7034 GB, free: 4.879 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.006162, allocations: 12.36 kB / 0.7034 GB, free: 4.867 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.006189, allocations: 8.375 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.006433, allocations: 98.12 kB / 0.7035 GB, free: 4.758 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006443, allocations: 7.938 kB / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.006457, allocations: 0 / 0.7035 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006461, allocations: 8 kB / 0.7035 GB, free: 4.742 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.006739, allocations: 83.91 kB / 0.7036 GB, free: 4.66 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.007147, allocations: 280.4 kB / 0.7039 GB, free: 4.355 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.007491, allocations: 134.3 kB / 0.704 GB, free: 4.215 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.007651, allocations: 56.81 kB / 0.7041 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.007669, allocations: 0 / 0.7041 GB, free: 4.156 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.007912, allocations: 111.3 kB / 0.7042 GB, free: 4.035 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.007914, allocations: 4 kB / 0.7042 GB, free: 4.031 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005241/0.008438, allocations: 193.6 kB / 0.7044 GB, free: 3.836 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.008472, allocations: 59.34 kB / 0.7044 GB, free: 3.766 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.0086, allocations: 159.6 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.008617, allocations: 25.7 kB / 0.7046 GB, free: 3.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.008663, allocations: 104.1 kB / 0.7047 GB, free: 3.465 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.008694, allocations: 55.62 kB / 0.7047 GB, free: 3.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.008755, allocations: 33.7 kB / 0.7048 GB, free: 3.371 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.008803, allocations: 326.8 kB / 0.7051 GB, free: 3.043 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.008967, allocations: 81.66 kB / 0.7052 GB, free: 2.957 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.009155, allocations: 194.1 kB / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.009428, allocations: 144.7 kB / 0.7055 GB, free: 2.582 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00943, allocations: 3.938 kB / 0.7055 GB, free: 2.578 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003899/0.00982, allocations: 248.8 kB / 0.7057 GB, free: 2.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.009844, allocations: 29.7 kB / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009848, allocations: 0 / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.009862, allocations: 0 / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01002, allocations: 35.97 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01003, allocations: 0 / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01018, allocations: 15.92 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.0102, allocations: 8 kB / 0.7058 GB, free: 2.223 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.656e-05/0.01026, allocations: 129.7 kB / 0.7059 GB, free: 2.086 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01029, allocations: 11.91 kB / 0.706 GB, free: 2.074 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.01067, allocations: 170.3 kB / 0.7061 GB, free: 1.906 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01067, allocations: 4 kB / 0.7061 GB, free: 1.902 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01068, allocations: 3.984 kB / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01068, allocations: 0 / 0.7061 GB, free: 1.898 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.01079, allocations: 145.3 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01079, allocations: 8.141 kB / 0.7063 GB, free: 1.719 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.01094, allocations: 27.92 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01095, allocations: 7.938 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.01096, allocations: 3.984 kB / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01096, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01096, allocations: 0 / 0.7063 GB, free: 1.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.01147, allocations: 247.7 kB / 0.7065 GB, free: 1.422 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.0115, allocations: 23.8 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.01152, allocations: 4 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.01165, allocations: 24.05 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.01171, allocations: 11.97 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01172, allocations: 8 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.0118, allocations: 125.3 kB / 0.7067 GB, free: 1.23 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 0.7067 GB, free: 1.23 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001992/0.012, allocations: 32 kB / 0.7068 GB, free: 1.199 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 0.0001085/0.0121, allocations: 99.19 kB / 0.7069 GB, free: 1.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.0125, allocations: 219.7 kB / 0.7071 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0125, allocations: 0 / 0.7071 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.01266, allocations: 63.89 kB / 0.7071 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01295, allocations: 39.89 kB / 0.7072 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.01356, allocations: 309.5 kB / 0.7075 GB, free: 440 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.01361, allocations: 97.8 kB / 0.7076 GB, free: 324 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.01369, allocations: 21.48 kB / 0.7076 GB, free: 300 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.01375, allocations: 16.5 kB / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of SimCode: time 4.7e-07/0.01375, allocations: 0 / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of Templates: time 0.006423/0.02017, allocations: 2.513 MB / 0.71 GB, free: 13.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.007314675021917]